Commit e77694bf authored by Bruno Albuquerque's avatar Bruno Albuquerque

Added a simple test to web_url_without_protocol.

parent fb782476
......@@ -99,6 +99,11 @@
project.web_url.should == "#{Gitlab.config.gitlab.url}/somewhere"
it "returns the web URL without the protocol for this repo" do
project = "somewhere")
project.web_url_without_protocol.should == "#{}/somewhere"
describe "last_activity methods" do
let(:project) { create(:project) }
let(:last_event) { double(created_at: }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment