spec/integration/callback_spec.rb in caricature-0.7.0 vs spec/integration/callback_spec.rb in caricature-0.7.1

- old
+ new

@@ -137,10 +137,10 @@ end iso.damage cnt.should == 1 end - it "should execute a callback when an expectation is being invoked and with is not defined in a block" do + it "should execute a callback when an expectation is being invoked and with is defined in a block" do cnt = 0 iso = Caricature::Isolation.for(Dagger) iso.when_receiving(:damage) do |exp| exp.with(:any) do |*args| cnt += 1 \ No newline at end of file