scinote-web/spec/factories/team_repositories.rb

14 lines
243 B
Ruby
Raw Normal View History

2019-07-11 21:40:20 +08:00
# frozen_string_literal: true
FactoryBot.define do
factory :team_repository do
repository
trait :read do
permission_level { :shared_read }
2019-07-11 21:40:20 +08:00
end
trait :write do
permission_level { :shared_write }
2019-07-11 21:40:20 +08:00
end
end
end