Skip to content

Commit

Permalink
Handle argument delegation for Ruby 3 (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanm committed Feb 5, 2021
1 parent bf850fa commit e1d622c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shoulda/matchers/rails_shim.rb
Expand Up @@ -65,7 +65,7 @@ def make_controller_request(context, verb, action, request_params)
request_params
end

context.__send__(verb, action, params)
context.__send__(verb, action, **params)
end

def serialized_attributes_for(model)
Expand Down

0 comments on commit e1d622c

Please sign in to comment.