Epic: Gitlab configuration with default values
This commit is contained in:
parent
b3a0ee8e63
commit
9b337b8328
25 changed files with 147 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue