spec/spy_verification_spec.rb in rr-0.10.10 vs spec/spy_verification_spec.rb in rr-0.10.11

- old
+ new

@@ -117,10 +117,10 @@ end end context "when the subject is expected where there is not DoubleInjection" do it "raises a DoubleInjectionNotFoundError" do - space.double_injection_exists?(subject, :method_that_does_not_exist).should be_false + ::RR::Injections::DoubleInjection.exists?(subject, :method_that_does_not_exist).should be_false lambda do received(subject).method_that_does_not_exist.call end.should raise_error(RR::Errors::SpyVerificationErrors::DoubleInjectionNotFoundError) end end \ No newline at end of file