diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-12-20 12:36:21 +0100 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-12-20 12:36:21 +0100 |
commit | 46f3190714084a7d1deece9c9f4891118260aba0 (patch) | |
tree | ef20787895729184858218a612bca349f2b2809a | |
parent | 5969bd068d8aa9b19e69c96c8644f821602b4c6e (diff) | |
download | gitlab-shell-46f3190714084a7d1deece9c9f4891118260aba0.tar.gz |
Fix spec failure with Ruby 2.5
-rw-r--r-- | spec/gitlab_net_spec.rb | 2 |
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 |