mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
8 lines
170 B
Ruby
8 lines
170 B
Ruby
|
FactoryGirl.define do
|
||
|
factory :repository do
|
||
|
name 'My Repository'
|
||
|
created_by { User.first || create(:user) }
|
||
|
team { Team.first || create(:team) }
|
||
|
end
|
||
|
end
|