summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-12-20 13:02:28 +0000
committerDouwe Maan <douwe@gitlab.com>2018-12-20 13:02:28 +0000
commit5b6163172758eeba808e3fc4dd927f7c298547dc (patch)
treeef20787895729184858218a612bca349f2b2809a
parent5969bd068d8aa9b19e69c96c8644f821602b4c6e (diff)
parent46f3190714084a7d1deece9c9f4891118260aba0 (diff)
downloadgitlab-shell-5b6163172758eeba808e3fc4dd927f7c298547dc.tar.gz
Merge branch 'fix-ruby2.5-spec-failure' into 'master'
Fix spec failure with Ruby 2.5 See merge request gitlab-org/gitlab-shell!266
-rw-r--r--spec/gitlab_net_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab_net_spec.rb b/spec/gitlab_net_spec.rb
index 1ca4096..c6245d4 100644
--- a/spec/gitlab_net_spec.rb
+++ b/spec/gitlab_net_spec.rb
@@ -67,7 +67,7 @@ describe GitlabNet, vcr: true do
describe '#lfs_authenticate' do
context 'lfs authentication succeeded' do
- let(:repository_http_path) { URI.join(internal_api_endpoint.sub('api/v4', ''), project).to_s }
+ let(:repository_http_path) { URI.join(internal_api_endpoint.sub('/api/v4', ''), project).to_s }
context 'for download operation' do
it 'should return the correct data' do