jimweirich / rspec-given

Given/When/Then keywords for RSpec Specifications
https://github.com/jimweirich/rspec-given
MIT License
653 stars 61 forks source link

Why do failures get captured? #55

Closed Aryk closed 7 years ago

Aryk commented 7 years ago

This seems kind of strange.

So, basically, if I don't call a method on the object, then it quietly swallows errors. So for example, if I'm doing something like:

When(:record) { create(:record) }

I have to make sure that every test uses it. What if one test wants to access the record, but another one just wants to do Record.count == 1? Then you wouldn't know why it isn't working since Record.count does not actually call record directly.

mikegee commented 7 years ago

Hi @Aryk, maintenance and discussion of this project has moved to https://github.com/rspec-given/rspec-given since Jim is no longer with us.

Aryk commented 7 years ago

thanks @mikegee