scinote-web/spec/factories/my_module_groups.rb
2017-07-28 10:14:50 +02:00

6 lines
158 B
Ruby

FactoryGirl.define do
factory :my_module_group do
name Faker::Name.unique.name
experiment { Experiment.first || create(:experiment_two) }
end
end