From 9156f1354f404c569e7fd337cff0171f6f43842e Mon Sep 17 00:00:00 2001 From: Aya Jaff Date: Wed, 12 Aug 2015 15:18:34 +0200 Subject: Added an 'invite code' to all the tests for the sign-up form so we have a valid user for the tests again --- test/factories.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/factories.rb') 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 } -- cgit v1.2.3 From 8b5665b857edc460ef6105c3ba0f106dd99a25d5 Mon Sep 17 00:00:00 2001 From: ankonym Date: Thu, 13 Aug 2015 17:24:31 +0200 Subject: Fix test based on actual invite code validation --- test/factories.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'test/factories.rb') diff --git a/test/factories.rb b/test/factories.rb index 1a778ff..b6e1475 100644 --- a/test/factories.rb +++ b/test/factories.rb @@ -13,7 +13,6 @@ FactoryGirl.define do password_salt "4321AB" invite_code "testcode" - factory :user_with_settings do email_forward { Faker::Internet.email } email_aliases_attributes do -- cgit v1.2.3