spec/grape/middleware/formatter_spec.rb in grape-1.0.1 vs spec/grape/middleware/formatter_spec.rb in grape-1.0.2

- old
+ new

@@ -221,10 +221,10 @@ end end end context 'input' do - %w(POST PATCH PUT DELETE).each do |method| + %w[POST PATCH PUT DELETE].each do |method| ['application/json', 'application/json; charset=utf-8'].each do |content_type| context content_type do it "parses the body from #{method} and copies values into rack.request.form_hash" do io = StringIO.new('{"is_boolean":true,"string":"thing"}') subject.call(