jonleighton / spring-commands-rspec

MIT License
378 stars 37 forks source link

RSpec with bin/spring broken after upgrading and rolling back from RSpec 3.1 #26

Closed reconstructions closed 9 years ago

reconstructions commented 10 years ago

I recently tried upgrading to Rspec 3.1, and since I have used Expectations 3.0 for awhile I didn't have to rewrite my tests.

But after the upgrade my tests would pass if I ran rspec spec/, but about half would fail if I ran bin/spring rspec spec/ I also had made changes to the way I was testing Sidekiq workers, so that is another possible cause for this.

I rolled back to a previous known good app with no RSpec 3.1 (2.14.1 instead) and removed the spring gem and regenerated the binstubs, but all to no avail, spring would either hang when I ran RSpec or half my tests would fail. Without spring, all my tests passed.

With Sidekiq I am using the inline option, which is documented here. I haven't tried different options with this, it could be related.

I love spring, but I am going to go back up to RSpec 3.0. I will hope you have some ideas about how I could trouble shoot this. Thanks in advance for the help.

jonleighton commented 9 years ago

There is not enough information here to identify or solve the problem. If you still have this problem, please provide steps to reproduce (ideally an example app) or at least specify what error you are encountering.