diff --git a/spec/requests/media_spec.rb b/spec/requests/media_spec.rb index 8f164311b..d30b266be 100644 --- a/spec/requests/media_spec.rb +++ b/spec/requests/media_spec.rb @@ -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