Method: Ccls::FactoryTestHelper#create_study_subjects_with_races
- Defined in:
- lib/ccls_engine/factory_test_helper.rb
#create_study_subjects_with_races(count = 0, options = {}) ⇒ Object
110 111 112 113 114 |
# File 'lib/ccls_engine/factory_test_helper.rb', line 110 def create_study_subjects_with_races(count=0,={}) study_subjects = create_study_subjects(count) study_subjects.each{|s|s.races << Factory(:race)} study_subjects end |