Closed epinault closed 10 years ago
So I added the following in my test_helper and it does not break but still does not work properly
class MiniTest::Spec
include FactoryGirl::Syntax::Methods
end
Does not seem that the states are being initialized correctly still
p crawling_run.done? => false
p crawling_run.state => :done
what am I missing?
Thanks
Nevermind. Just found the note to note use symbol notation.... I had it in my test where the state would be set to :done rather than "done"
I am using Rails 4.04, FactoryGirl 4.4.0, and ruby 2.1
The following does not work in my factories.
I get
Any idea?