Re: Rails 3, RSpec, Factory Girl results in NameError: uninitialized constant

Heinz Strunk
Sun, 16 Jan 2011 15:26:25 -0000

Yeah, just figured that out. Didn''t know FactoryGirl was so strict
about
it.

That one worked:
Factory.define :video do |f|
  f.title "MyString"
  f.teaser "MyText"
  f.link "MyString"
end

Thanks!