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
I'm running transpec against rspec-mocks (as we still have a lot of specs written using the old stub and should_receive syntax). It converted this spec to:
it'works for instance methods defined on the class'doexpect(klass.any_instance).toreceive(:meth_1).and_call_originalexpect(klass.new.meth_1).toeq(:original)end
...but should have converted it to:
it'works for instance methods defined on the class'doexpect_any_instance_of(klass).toreceive(:meth_1).and_call_originalexpect(klass.new.meth_1).toeq(:original)end
The text was updated successfully, but these errors were encountered:
I'm running transpec against rspec-mocks (as we still have a lot of specs written using the old
stub
andshould_receive
syntax). It converted this spec to:...but should have converted it to:
The text was updated successfully, but these errors were encountered: