Ruby on Rails
Tuesday, August 5, 2014
Yeah, well I was re-reading their github documentation and realized that I was saving my configs in the wrong place, the new factory_girl requires that you save your definitions onto support/factory_girl.rb as it seems, and I was having them located at spec_helper.rb.
Anyway, thanks for the help.
Regards,
Diego Dillenburg Bueno
2014-08-05 15:04 GMT-03:00 Colin Law <clanlaw@gmail.com>:
> Hello all,Have you done all the things in
>
> I'm still learning rails and trying to dive into TDD as early as possible,
> but I got a problem which I couldn't solve. The deal is that I'm trying to
> activate the FactoryGirl Syntax and getting an "unitialized constant
> FactoryGirl (NameError)" when attempting to run my specs.
https://github.com/thoughtbot/factory_girl/blob/master/GETTING_STARTED.md#configure-your-test-suite
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvtm3Q0oiOFJsxLDfDG1Vz-20iUXv2cV3kf9hRV6KQzRQ%40mail.gmail.com.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOHSkmGvsPcrugScbmATH1gMxkCCuCW4F2RJ1iyiTjD_Ax%3DrKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment