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

7 lines
153 B
Ruby

FactoryGirl.define do
factory :sample do
name 'Sample'
user { User.first || create(:user) }
team { Team.first || create(:team) }
end
end