diff options
Diffstat (limited to 'spec/requests/git_http_spec.rb')
-rw-r--r-- | spec/requests/git_http_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/git_http_spec.rb b/spec/requests/git_http_spec.rb index 34f8a479719..e4a0c034b20 100644 --- a/spec/requests/git_http_spec.rb +++ b/spec/requests/git_http_spec.rb @@ -267,7 +267,7 @@ RSpec.describe 'Git HTTP requests' do it "responds to pulls with the wiki's repo" do download(path) do |response| - json_body = ActiveSupport::JSON.decode(response.body) + json_body = Gitlab::Json.parse(response.body) expect(json_body['Repository']['relative_path']).to eq(wiki.repository.relative_path) end @@ -1610,7 +1610,7 @@ RSpec.describe 'Git HTTP requests' do it "responds to pulls with the wiki's repo" do download(path) do |response| - json_body = ActiveSupport::JSON.decode(response.body) + json_body = Gitlab::Json.parse(response.body) expect(json_body['Repository']['relative_path']).to eq(wiki.repository.relative_path) end |