shoulda-context icon indicating copy to clipboard operation
shoulda-context copied to clipboard

Pass keyword args through `Context.method_missing`

Open TastyPi opened this issue 2 years ago • 1 comments

Without this attempting to call a test's class method with keyword arguments complains that the wrong number of arguments are passed because the keyword hash is passed as a positional parameter instead of keyword parameters.

TastyPi avatar Jan 25 '23 13:01 TastyPi

Hi @TastyPi,

Thanks for the PR. Is there a test we could write that reproduces the problem you describe?

mcmire avatar Jan 26 '23 16:01 mcmire