factorygirl rails, says "top required" in my spec - don't know how to fix
- by user924088
I get the following error message when I run my tests. It says that the problem is in my lecture_spec, and that the top is required. I don't know if this has something to do with requiring my spec_helper.rb file.
1) Lecture has a valid factory
Failure/Error: FactoryGirl.create(:lecture).should be_valid
NoMethodError:
…