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

A gem doesn't support compound expectations #3

Open
abotalov opened this issue Apr 4, 2017 · 0 comments
Open

A gem doesn't support compound expectations #3

abotalov opened this issue Apr 4, 2017 · 0 comments

Comments

@abotalov
Copy link
Owner

abotalov commented Apr 4, 2017

expect { [1] }.to become_include(1).or become_include(2)

ArgumentError: (#WaitingRspecMatchers::Become:0x0000000319b038) and (#WaitingRspecMatchers::Become:0x0000000319ae58) can
not be combined in a compound expectation because they both expect a call stack jump.

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