Commit ddf004fa authored by Gabor Nagy's avatar Gabor Nagy

Fix spec for GitlabConfig.gitlab_url.

parent f959bd4d
...@@ -21,10 +21,12 @@ describe GitlabConfig do ...@@ -21,10 +21,12 @@ describe GitlabConfig do
end end
describe :gitlab_url do describe :gitlab_url do
let(:url) { 'http://test.com' }
subject { config.gitlab_url } subject { config.gitlab_url }
before { config.send(:config)['gitlab_url'] = url }
it { should_not be_empty } it { should_not be_empty }
it { should eq('http://localhost:8080/') } it { should eq(url) }
end end
describe :audit_usernames do describe :audit_usernames do
......
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