Sha256: 494bb22fae4a55cc2ff61c0e3918ac81a94f1f40d1dc030d68f69e4254375821
Contents?: true
Size: 295 Bytes
Versions: 5
Compression:
Stored size: 295 Bytes
Contents
FactoryGirl.define do factory :invalid_user, class: Kms::User do sequence(:email){|n| "admin#{n}@example.com" } factory :user, class: Kms::User do password "password" password_confirmation "password" factory :admin do role 'admin' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
kms-1.2.1 | spec/factories/users.rb |
kms-1.2.0 | spec/factories/users.rb |
kms-1.1.0 | spec/factories/users.rb |
kms-1.0.1 | spec/factories/users.rb |
kms-1.0.0 | spec/factories/users.rb |