FactoryGirl.define do
  factory :admin do
      firstname { Faker::Name.first_name }
      lastname { Faker::Name.last_name }
      email { Faker::Internet.email }
      password 'secretpassword'
      password_confirmation 'secretpassword'
      activation_status true



      factory :master_admin do
      	ticketadmin true
      	useradmin true
      	superadmin true
      	masteradmin true
      end

      factory :invalid_admin do
      	email nil
      end
  end
end