You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be a problem inside rspec-mocks where it's miss validating the actual arguments against the signature. I'm kind of glad they don't have quite the same wording as the core argument error message, otherwise this would have been really hard to track down. :-)
I'll investigate a little more and see if I can find the root cause of this issue.
@petenorth, I've found the root cause of this. If you look up a method on an object that implements method_missing for that method then we return a method object which returns the wrong arity and parameters. I've got a fix for this which I'll create an internal PR for, and it appears to fix almost all the other spec failures in your app.
I am trying to get some rspec test working for an existing project.
https://github.com/petenorth/schools-experience
There is a failure that appears for a number of tests and so I was hoping for some guidance (it works in MRI)
VERSION: truffleruby 20.1.0-dev-08311e22, like ruby 2.6.5, GraalVM CE Native [x86_64-linux]
The text was updated successfully, but these errors were encountered: