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

multiples object.should have(expected_size).collection wasn't transcripted correctly #131

Open
GPrimola opened this issue Apr 20, 2018 · 0 comments

Comments

@GPrimola
Copy link

Hi,

I was recently introduced to transpec, and I'm performing an upgrade version of a rails app, which I've used transpec to transcript the project's rspecs.

The problem I found was that in some test case, we have:

object.should have(expected_size).collection_1
object.should have(expected_count).collection_2
object.should have(expected_size).collection_3

that was incorrectly transcripted to

expect(object.size).to eq(expected_size)
expect(object.size).to eq(expected_count)
expect(object.size).to eq(expected_size)

I hope that means something for you!
Despite that, congratulations for the project. It's really helpful!
Best regards,
// Giorgio.

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