Revert "Fix failing spec. Ref dry-rb/dry-validation#407"

This reverts commit a4504c9b42.
This commit is contained in:
Luca Guidi 2018-06-05 14:40:03 +02:00
parent a4504c9b42
commit c12e07954d
No known key found for this signature in database
GPG Key ID: 3AE69D4FBFF97B5E
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ RSpec.describe Hanami::Action::Params do
it "doesn't filter _csrf_token" do
response = Rack::MockRequest.new(action).request('PATCH', "?id=1", params: { _csrf_token: 'def', x: { foo: 'bar' } })
expect(response.body).to match(%(:id=>"1", :_csrf_token=>"def"))
expect(response.body).to match(%(:_csrf_token=>"def", :id=>"1"))
end
end