Epic: Gitlab configuration with default values

This commit is contained in:
Dmitriy Zaporozhets 2012-07-02 21:51:48 +03:00
parent b3a0ee8e63
commit 9b337b8328
25 changed files with 147 additions and 45 deletions

View file

@ -56,7 +56,7 @@ describe Project do
it "returns the full web URL for this repo" do
project = Project.new(:code => "somewhere")
project.web_url.should == "#{GIT_HOST['host']}/somewhere"
project.web_url.should == "#{Gitlab.config.url}/somewhere"
end
describe :valid_repo? do