Displaying 1 result from an estimated 1 matches for "jerryvo".
Did you mean:
jerryvos
2007 Oct 25
0
Fwd: [ mocha-Feature Requests-15021 ] without or not params matcher
...rubyforge.org
Feature Requests item #15021, was opened at 2007-10-24 15:33
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=7480&aid=15021&group_id=1917
Category: Interface Improvements (example)
Group: None
Status: Open
Priority: 3
Submitted By: Jerry Vos (jerryvos)
Assigned to: Nobody (None)
Summary: without or not params matcher
Initial Comment:
Would be nice if you could do
MyClass.expects(:create!).without(hasKey(:property1))
or something like
MyClass.expects(:create!).with(not(hasKey(:property1)))
MyClass.expects(:create!).with(not.hasKey(:...