summaryrefslogtreecommitdiff
path: root/spec/gitlab_config_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/gitlab_config_spec.rb')
-rw-r--r--spec/gitlab_config_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/gitlab_config_spec.rb b/spec/gitlab_config_spec.rb
index 52fb182..0ce641b 100644
--- a/spec/gitlab_config_spec.rb
+++ b/spec/gitlab_config_spec.rb
@@ -35,6 +35,12 @@ eos
it { should_not be_empty }
it { should eq(url) }
+
+ context 'remove trailing slashes' do
+ before { config.send(:config)['gitlab_url'] = url + '//' }
+
+ it { should eq(url) }
+ end
end
describe :audit_usernames do