about summary refs log tree commit diff
path: root/spec/fabricators/user_fabricator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fabricators/user_fabricator.rb')
-rw-r--r--spec/fabricators/user_fabricator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/fabricators/user_fabricator.rb b/spec/fabricators/user_fabricator.rb
index 8f5956501..10ad2c53a 100644
--- a/spec/fabricators/user_fabricator.rb
+++ b/spec/fabricators/user_fabricator.rb
@@ -1,5 +1,5 @@
 Fabricator(:user) do
-  account
+  account      { Fabricate.build(:account, user: nil) }
   email        { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
   password     "123456789"
   confirmed_at { Time.zone.now }