Sha256: 3fdc6b5c09b6d4c40b83cb5a202e962e4480d28dc3a60f67af49cca932d019ae
Contents?: true
Size: 359 Bytes
Versions: 19
Compression:
Stored size: 359 Bytes
Contents
RSpec.shared_examples_for "having a json uploader error message" do it "renders json response with error message" do subject expect(response.media_type).to eq('application/json') expect(response.status).to eq(422) json = JSON.parse(response.body) expect(json).to have_key('growl_message') expect(json).to have_key('files') end end
Version data entries
19 entries across 19 versions & 1 rubygems