Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 28, 2020
1 parent ff59d0c commit 089dfe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/media_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
expect(json).not_to be_empty
expect(json['data'].size).to eq(6)
result = json['data'].first
expect(result.dig("attributes", "mediaType")).to eq("text/plain")
expect(result.dig("attributes", "mediaType")).to eq("application/json")
end

it 'returns status code 200' do
Expand Down

0 comments on commit 089dfe8

Please sign in to comment.