diff options
author | Aya Jaff <ayajaff@hotmail.com> | 2015-08-12 15:18:34 +0200 |
---|---|---|
committer | ankonym <ankonym@gmail.com> | 2015-09-28 15:12:44 +0200 |
commit | 9156f1354f404c569e7fd337cff0171f6f43842e (patch) | |
tree | b32b4026dfdbdf8a2b7b8e1161d2922891bf3d24 /test/factories.rb | |
parent | 8f03c13a038469a1191666259ef5609c89d69d90 (diff) |
Added an 'invite code' to all the tests for the sign-up form so we have a valid user for the tests again
Diffstat (limited to 'test/factories.rb')
-rw-r--r-- | test/factories.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/factories.rb b/test/factories.rb index 0734688..1a778ff 100644 --- a/test/factories.rb +++ b/test/factories.rb @@ -11,6 +11,8 @@ FactoryGirl.define do login { Faker::Internet.user_name + '_' + SecureRandom.hex(4) } password_verifier "1234ABCD" password_salt "4321AB" + invite_code "testcode" + factory :user_with_settings do email_forward { Faker::Internet.email } |