Last active
August 29, 2015 13:55
-
-
Save cupakromer/8786449 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FactoryGirl.define do | |
factory :user do | |
email 'myuser@test.com' | |
password 'this IS a BAd passowrds1234!!' | |
trait :confirmed do | |
confirmed_at { Time.now } | |
confirmation_token nil | |
end | |
factory :client do | |
role :client | |
confirmed | |
end | |
factory :admin do | |
role :admin | |
confirmed | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment