spring
spring copied to clipboard
Spring equivalent of `Spork.prefork` and `Spork_each_run`
Rails 4.2.0, Ruby 1.9.3, RSpec 3.1
I want to make sure the transition from Spork to Spring is as seamless as possible. Since we are using Rails 4.2.0 and RSpec 3.1, we are no longer able to use Spork (and its guard plugin) for testing. Below is a gist of our previous spec_helper.rb
file. I would like to know the Spring equivalent of Spork.prefork
and Spork.each_run
https://gist.github.com/onebree/a6007be931d5169cebfd
To my understanding, the settings I plan to make will go into our new rails_helper.rb
, created after upgrading to RSpec 3.
So... nothing? I'm currently trying to migrate to spring from spork, and I'm running into issues because I'm not sure what to do with the Spork.prefork
and Spork.each_run
blocks in our current rails_helper.rb
.