lib/bogus/injector.rb in bogus-0.0.3.rc.1 vs lib/bogus/injector.rb in bogus-0.0.3.rc.2

- old
+ new

@@ -42,9 +42,17 @@ def create_mock(object) create_double(object).mock end + def instance_methods(klass) + inject(InstanceMethods, klass: klass) + end + + def class_methods(klass) + inject(ClassMethods, klass: klass) + end + def have_received_matcher inject(HaveReceivedMatcher) end def interactions_repository