mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 05:05:55 +08:00
13 lines
243 B
Ruby
13 lines
243 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :team_repository do
|
|
repository
|
|
trait :read do
|
|
permission_level { :shared_read }
|
|
end
|
|
trait :write do
|
|
permission_level { :shared_write }
|
|
end
|
|
end
|
|
end
|