mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +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
|