Re: [rspec-users] Argument Non-Matchers

2012-04-11 Thread David Chelimsky
On Wed, Apr 11, 2012 at 12:18 PM, Matt Hauck wrote: > On Tuesday, April 10, 2012 8:48:37 PM UTC-7, Justin Ko wrote: >> >> >> On Apr 9, 2012, at 2:41 PM, Matt Hauck wrote: >> >> Is there a way to specify a message expectation on an object to occur >> _without_ a particular argument? >> >> There is

Re: [rspec-users] Argument Non-Matchers

2012-04-11 Thread Matt Hauck
Hmm, that's not exactly what I was thinking of... I don't mean that there should be no arguments at all, but that the arguments should _not_ be of a certain match. On Tuesday, April 10, 2012 8:48:37 PM UTC-7, Justin Ko wrote: > > > On Apr 9, 2012, at 2:41 PM, Matt Hauck wrote: > > Is there a wa

Re: [rspec-users] Argument Non-Matchers

2012-04-10 Thread Justin Ko
On Apr 9, 2012, at 2:41 PM, Matt Hauck wrote: > Is there a way to specify a message expectation on an object to occur > _without_ a particular argument? > > There is a particular function, which in some special circumstance takes a > unique argument, but in normal circumstances does not take t

[rspec-users] Argument Non-Matchers

2012-04-10 Thread Matt Hauck
Is there a way to specify a message expectation on an object to occur _without_ a particular argument? There is a particular function, which in some special circumstance takes a unique argument, but in normal circumstances does not take this unique argument. I want to say something like this: