mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 05:34:53 +08:00
8 lines
187 B
Ruby
8 lines
187 B
Ruby
|
FactoryGirl.define do
|
||
|
factory :report do
|
||
|
user { User.first || association(:user) }
|
||
|
project { Project.first || association(:project) }
|
||
|
name Faker::Name.unique.name
|
||
|
end
|
||
|
end
|