mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +08:00
11 lines
275 B
Ruby
11 lines
275 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :project do
|
|
sequence(:name) { |n| "My project-#{n}" }
|
|
association :created_by, factory: :user
|
|
team { create :team, created_by: created_by }
|
|
archived { false }
|
|
visibility { 'hidden' }
|
|
end
|
|
end
|