- # A commonly needed user is one who can log in an isn't redirected anywhere
- factory :normal_user do
- status "active"
- terms_seen true
- data_public true
+ factory :super_user do
+ after(:create) do |user, _evaluator|
+ UserRole::ALL_ROLES.each do |role|
+ create(:user_role, :role => role, :user => user)
+ end
+ end