Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-03-28 12:21:32 +0300
committerSean McGivern <sean@mcgivern.me.uk>2018-03-28 12:21:32 +0300
commitc43e18fc495f66c4a96c9a72bdda72392fb0ea32 (patch)
tree6a15efa5bb9280c76e322f9be3e8661227f58c7a /spec/requests
parent066d2e0a9cc7f6bcd56115c031168b775a2374fd (diff)
Remove some easy cases of 'path_to_repo' use
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/git_http_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/git_http_spec.rb b/spec/requests/git_http_spec.rb
index 6dbbb1ad7bb..7d84f8c3c2a 100644
--- a/spec/requests/git_http_spec.rb
+++ b/spec/requests/git_http_spec.rb
@@ -163,7 +163,7 @@ describe 'Git HTTP requests' do
download(path) do |response|
json_body = ActiveSupport::JSON.decode(response.body)
- expect(json_body['RepoPath']).to include(wiki.repository.disk_path)
+ expect(json_body['Repository']['relative_path']).to eq(wiki.repository.relative_path)
end
end
end