spec/unit/yaks/format_spec.rb in yaks-0.6.0.alpha.1 vs spec/unit/yaks/format_spec.rb in yaks-0.6.0
- old
+ new
@@ -25,13 +25,9 @@
end
end
describe '.mime_types' do
specify do
- expect(Yaks::Format.mime_types).to eql(
- collection_json: "application/vnd.collection+json",
- hal: "application/hal+json",
- json_api: "application/vnd.api+json"
- )
+ expect(Yaks::Format.mime_types.values_at(:collection_json, :hal, :json_api)).to eql(["application/vnd.collection+json", "application/hal+json", "application/vnd.api+json"])
end
end
end