1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00

Support Spring out of the box

Closes #120
This commit is contained in:
Joshua Clayton 2014-01-03 14:42:41 -05:00
parent 8dc4d08aa3
commit b44b6b106b

View file

@ -19,6 +19,10 @@ module FactoryGirl
config.after_initialize do
FactoryGirl.find_definitions
if defined?(Spring)
Spring.after_fork { FactoryGirl.reload }
end
end
end
end