spec/parameter_transformations_spec.rb in sinatra-param-1.3.1 vs spec/parameter_transformations_spec.rb in sinatra-param-1.4.0
- old
+ new
@@ -33,10 +33,10 @@
end
it 'skips transformations when the value is nil' do
get('/transform/required') do |response|
expect(response.status).to eql 400
- expect(JSON.parse(response.body)['message']).to eq('Invalid Parameter: order')
+ expect(JSON.parse(response.body)['message']).to eq("Parameter is required")
end
end
end
end