scinote-web/spec/factories/sample_my_modules.rb
2017-08-30 13:30:41 +02:00

6 lines
165 B
Ruby

FactoryGirl.define do
factory :sample_my_module do
sample { Sample.frist || create(:sample) }
my_module { MyModule.frist || create(:my_module) }
end
end