thoughtbot/factory_girl_rails — Issue #40: Model and Test values not the same
Author: Gerhardk
Created: 2011-10-12 14:38:17+00:00
State: open

Hey I have a really weird problem which does not make any sense to me.
My environment is Factory_Girl_Rails(1.2.0) on jruby 1.6.3, rails 3.0.10
What the issue is I create a dummy object with factory_girl and some how the objects attributes are different within the tests and in the model.
What I mean by it is in the test the value of an attribute is 4.5 and in the model the same attribute is 5.0 on the same object.

Can some help me to determine if its a active record problem or factory_girl or something else?

Thanks