diff --git a/spec/factories/users.rb b/spec/factories/users.rb index 2fe4679..f2d225c 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -8,5 +8,9 @@ FactoryGirl.define do password_confirmation 'password' confirmed_at Time.now - 15.minutes email + + factory :administrator do + admin true + end end end