Sha256: cbb73dd32036b7b5caf32d7b307295884027cf724cfbd35e4127fb7f40001ac4

Contents?: true

Size: 209 Bytes

Versions: 15

Compression:

Stored size: 209 Bytes

Contents

FactoryGirl.define do
  factory :ecm_courses_course, class: Ecm::Courses::Course do
    sequence(:name) { |i| "Course ##{i}" }
    association :course_category, factory: :ecm_courses_course_category
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ecm_courses2-1.1.4 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-1.1.3 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-1.1.2 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-1.1.1 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-1.1.0 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-1.0.3 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-1.0.2 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-1.0.1 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-1.0.0 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-0.2.4 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-0.2.3 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-0.2.2 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-0.2.1 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-0.2.0 spec/factories/ecm/courses/course_factories.rb
ecm_courses2-0.1.0 spec/factories/ecm/courses/course_factories.rb