diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-03-28 12:21:32 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-03-28 12:21:32 +0300 |
commit | c43e18fc495f66c4a96c9a72bdda72392fb0ea32 (patch) | |
tree | 6a15efa5bb9280c76e322f9be3e8661227f58c7a /spec/lib/gitlab/workhorse_spec.rb | |
parent | 066d2e0a9cc7f6bcd56115c031168b775a2374fd (diff) |
Remove some easy cases of 'path_to_repo' use
Diffstat (limited to 'spec/lib/gitlab/workhorse_spec.rb')
-rw-r--r-- | spec/lib/gitlab/workhorse_spec.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/lib/gitlab/workhorse_spec.rb b/spec/lib/gitlab/workhorse_spec.rb index 95b63fc91fc..d67bfb37be7 100644 --- a/spec/lib/gitlab/workhorse_spec.rb +++ b/spec/lib/gitlab/workhorse_spec.rb @@ -275,14 +275,12 @@ describe Gitlab::Workhorse do describe '.git_http_ok' do let(:user) { create(:user) } - let(:repo_path) { repository.path_to_repo } let(:action) { 'info_refs' } let(:params) do { GL_ID: "user-#{user.id}", GL_USERNAME: user.username, GL_REPOSITORY: "project-#{project.id}", - RepoPath: repo_path, ShowAllRefs: false } end @@ -297,7 +295,6 @@ describe Gitlab::Workhorse do GL_ID: "user-#{user.id}", GL_USERNAME: user.username, GL_REPOSITORY: "wiki-#{project.id}", - RepoPath: repo_path, ShowAllRefs: false } end |