I\'ve been using spork all day, and most of the time it is a really great.
However, I am often running into a few problems where I need to restart Spork in order for
With more recent versions of Factory Girl, you don't need to do much. First, add FactoryGirl.reload in Spork.each_run. If you have factories with the class parameter, they should be string.
FactoryGirl.reload
Spork.each_run
class
factory :my_model, class: 'MyModel' do...
instead of
factory :my_model, class: MyModel do...