rubygem-shoulda-matchers/Handle-argument-delegation-for-ruby-3.patch
lyn1001 12a0fa8580 fix build error
(cherry picked from commit 1a218eab759e825f9253a9d5d4b181c3771dbe54)
2022-03-04 16:50:15 +08:00

13 lines
467 B
Diff

diff -Nur a/lib/shoulda/matchers/rails_shim.rb b/lib/shoulda/matchers/rails_shim.rb
--- a/lib/shoulda/matchers/rails_shim.rb 2022-03-02 16:34:47.793626953 +0800
+++ b/lib/shoulda/matchers/rails_shim.rb 2022-03-02 16:38:09.209032206 +0800
@@ -61,7 +61,7 @@
request_params
end
- context.__send__(verb, action, params)
+ context.__send__(verb, action,**params)
end
def serialized_attributes_for(model)