[rspec-users] [Mock]How do I check order of method argument ?

niku -E:) niku at niku.name
Fri Dec 17 09:12:59 EST 2010

My name is niku.

I'm using rspec 2.2.1

/tmp% rspec --version

I tested http://gist.github.com/744935 and passed.

/tmp% rspec stdout_spec.rb

Finished in 0.00105 seconds
2 examples, 0 failures

But I expected test fail.
Because It's wrong order that argument of 'write' method.

How do I check order of argument ?


More information about the rspec-users mailing list