Sha256: 9a90b119ee7f80c25d6bcf2714d4e10e81da532c93c864afc7a568593d7e09df
Contents?: true
Size: 361 Bytes
Versions: 29
Compression:
Stored size: 361 Bytes
Contents
RSpec.shared_examples_for "having a json uploader error message" do it "renders json response with error message" do subject expect(response.content_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
29 entries across 29 versions & 1 rubygems