From 089dfe8e358c8681cfcacb968059c4c123d7e07a Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Fri, 28 Feb 2020 09:41:39 +0100 Subject: [PATCH] fix spec --- spec/requests/media_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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