lib/bogus/mocking_dsl.rb in bogus-0.1.4 vs lib/bogus/mocking_dsl.rb in bogus-0.1.5
- old
+ new
@@ -30,9 +30,13 @@
def with(&block)
Bogus::WithArguments.new(&block)
end
+ def matches(&block)
+ Bogus::MatchesArgument.new(&block)
+ end
+
def any(klass)
Bogus::SameClass.new(klass)
end
def anything