spec/factories/ecm/courses/course_factories.rb in ecm_courses2-0.0.1 vs spec/factories/ecm/courses/course_factories.rb in ecm_courses2-0.1.0
- old
+ new
@@ -1,6 +1,6 @@
FactoryGirl.define do
factory :ecm_courses_course, class: Ecm::Courses::Course do
sequence(:name) { |i| "Course ##{i}" }
- ecm_courses_course_category
+ association :course_category, factory: :ecm_courses_course_category
end
end