Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ordered should_receive expectations with recurring arguments fail #20

Open
severinraez opened this issue Oct 22, 2015 · 0 comments
Open

Comments

@severinraez
Copy link

a = flexmock 'a'
a.should_receive(:foo).with(1).ordered
a.should_receive(:foo).with(2).ordered
a.should_receive(:foo).with(1).ordered

a.foo 1
a.foo 2
a.foo 1

Will fail (@1.3.3). Is it supposed to?
I am currently working around this using the should_expect syntax.

Cheers, Severin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant