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