transpec
transpec copied to clipboard
multiples object.should have(expected_size).collection wasn't transcripted correctly
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.