lib/bogus/double.rb in bogus-0.0.3.rc.1 vs lib/bogus/double.rb in bogus-0.0.3.rc.2
- old
+ new
@@ -9,11 +9,11 @@
def stub
proxy(:stubs)
end
def stubs(name, *args, &return_value)
- double_tracker.track(object)
verifies_stub_definition.verify!(object, name, args)
+ double_tracker.track(object)
records_double_interactions.record(object, name, args, &return_value)
overwrites_methods.overwrite(object, name)
object.__shadow__.stubs(name, *args, &return_value)
end