scinote-web/spec/factories/repository_rows.rb

8 lines
192 B
Ruby
Raw Normal View History

FactoryBot.define do
2017-07-28 16:14:50 +08:00
factory :repository_row do
name 'Custom row'
created_by { User.first || association(:user) }
last_modified_by { User.first || association(:user) }
end
end