Open catmando opened 8 years ago
I see this as well. I think it's still running database clean up tasks so either the transaction completes or (in my case) it's truncating all the tables. I don't have a solution yet.
Probably duplicate of #99
The way I'm able to confirm #99 is to notice that putting require 'pry-rescue/rspec'
at the top of the file gives me empty database tables, but putting binding.pry
right before the error doesn't trigger the bug. Maybe it applies in this case.
I was also experiencing this, but I don't think it was quite the same issue as others had. In my case, I was running rspec via I was running rspec via
bundle exec rescue bin/rspec. The fix was to instead add
require 'pry-rescue/rspec'to the top of my
spec/rails_helper.rbfile, then run my specs normally using
bin/spec`
Pry rescue is great.
However when using it with capybara + poltergeist once you hit the rescue you can't poke around, get a screen shot etc.
For example:
I have checked my after/before handlers, and as far as I can see I have all resets, etc turned off.
Anything else I can try?