summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-11-27 13:50:55 -0800
committerAsh McKenzie <amckenzie@gitlab.com>2018-12-12 13:25:55 +1100
commitc3986092124f3f31fffb598c0e1b9997a8ebf1bb (patch)
treea2c96c056891b2d1257859ed3da86e1c45fc596e
parent0180d88da98b560f1b6f55653e1e0131d9147751 (diff)
downloadgitlab-shell-c3986092124f3f31fffb598c0e1b9997a8ebf1bb.tar.gz
Fix regexp
-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 67cc4bc..564e5c0 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/internal/', ''), project).to_s }
+ let(:repository_http_path) { URI.join(internal_api_endpoint.sub('/api/v4/internal', ''), project).to_s }
context 'for download operation' do
it 'should return the correct data' do