about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:38:22 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:51:00 +0200
commitfc198a8b4ca6d22eaedee2cfb03e088432dc4b30 (patch)
treecc57ecb76638deb4b9cafd80e0c14911e4f419c6 /spec
parentb3c7c8700d7ddf73d6fef4076f15ae7c3d39ce67 (diff)
Adding e-mail confirmations
Diffstat (limited to 'spec')
-rw-r--r--spec/fabricators/user_fabricator.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/fabricators/user_fabricator.rb b/spec/fabricators/user_fabricator.rb
index 87d86b428..c08559137 100644
--- a/spec/fabricators/user_fabricator.rb
+++ b/spec/fabricators/user_fabricator.rb
@@ -1,5 +1,6 @@
 Fabricator(:user) do
   account
-  email    "alice@example.com"
-  password "123456789"
+  email        "alice@example.com"
+  password     "123456789"
+  confirmed_at { Time.now }
 end