thoughtbot/factory_girl — Issue #269: factory_girl does not reload model files
Author: pcasaretto
Created: 2012-01-16 12:49:34+00:00
State: open

Hello,

I have a conditional method on a model file, that depends on a Rails config (`after_update :do_stuff if something`).
In order to test that, I change the config value, and I reload the model file.
factory_girl fails to see that change forcing me to fallback to regular active_record.
I've created a simple example to demonstrate this issue, its on this repo.

https://github.com/pcasaretto/Factory-Issue