As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 5cab604c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #161 from Aigeruth/fix/gitlab_config_spec

Fix spec for GitlabConfig.gitlab_url.
parents 05dd7a00 ddf004fa
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -21,10 +21,12 @@ describe GitlabConfig do
end
describe :gitlab_url do
let(:url) { 'http://test.com' }
subject { config.gitlab_url }
before { config.send(:config)['gitlab_url'] = url }
it { should_not be_empty }
it { should eq('http://localhost:8080/') }
it { should eq(url) }
end
describe :audit_usernames do
Loading
Loading
@@ -62,4 +64,4 @@ describe GitlabConfig do
it { should_not include('-h') }
end
end
end
\ No newline at end of file
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment