scinote-web/spec/factories/user_teams.rb
2019-03-12 09:11:00 +01:00

15 lines
260 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :user_team do
trait :admin do
role 'admin'
end
trait :guest do
role 'guest'
end
trait :normal_user do # default enum by DB
role 'normal_user'
end
end
end