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

have conversion changed to calling size on the wrong object #43

Closed
myronmarston opened this issue Feb 21, 2014 · 2 comments
Closed

have conversion changed to calling size on the wrong object #43

myronmarston opened this issue Feb 21, 2014 · 2 comments
Labels

Comments

@myronmarston
Copy link

I had an expression like:

expect(collection_for "SomeArg").to have(3).values

...which got converted to:

expect(collection_for "SomeArg".size).to eq(3)

...but it should be:

expect(collection_for("SomeArg").size).to eq(3)
@yujinakayama
Copy link
Owner

Thanks for the report. I'll take a look.

@myronmarston
Copy link
Author

Thanks for the quick fix!

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

No branches or pull requests

2 participants