[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
Hello.
My name is niku.
I'm using rspec 2.2.1
/tmp% rspec --version
2.2.1
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 ?
regards.
More information about the rspec-users
mailing list