mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
11 lines
168 B
Ruby
11 lines
168 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :view_state do
|
|
state {}
|
|
user
|
|
trait :team do
|
|
viewable { create :team }
|
|
end
|
|
end
|
|
end
|