mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
6 lines
158 B
Ruby
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
|