Recent `any_instance` Change Regarding Superclasses Causes Spec Failure
Created by: jfelchner
I'm not exactly sure what is going on here, and although I don't have time to figure out how to fix it, I think I've done 99% of the forensic analysis for you all. :)
I've tracking the point of failure down to this commit: 1272c8a6
I'm specifically stubbing with:
ActiveMerchant::Billing::Integrations::AuthorizeNetSim::Notification.any_instance.stub(:complete?).and_return false
and it is failing with:
Failure/Error: it { ActiveMerchant::Billing::Integrations::AuthorizeNetSim::Notification.new.complete?.should be_true }
ArgumentError:
wrong number of arguments (0 for 1)
Prior to this commit, all works as expected.