scinote-web/spec/factories/repository_list_items.rb
2018-02-09 16:28:21 +01:00

8 lines
263 B
Ruby

FactoryBot.define do
factory :repository_list_item do
data ''
repository { Repository.first || create(:repository) }
created_by { User.first || association(:project_user) }
last_modified_by { User.first || association(:project_user) }
end
end