You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to factory_girl
Hey guys,
I have an odd issue with an interplay between Spork + FactoryGirl on
Rails3 and 1.9.2. When defining factories with the form of :class =>
"SomeNamespace::SomeClass" FactoryGirl doesn't do the right thing when
resolving the constant. It throws a strange "constant is missing"
error. When defining the factory in the form of :class =>
SomeNamespace::SomeClass, everything is dandy because it relies on
Rails' dependency detection.