about summary refs log tree commit diff
path: root/spec/fabricators/account_warning_fabricator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fabricators/account_warning_fabricator.rb')
-rw-r--r--spec/fabricators/account_warning_fabricator.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/fabricators/account_warning_fabricator.rb b/spec/fabricators/account_warning_fabricator.rb
index db161d446..72fe835d9 100644
--- a/spec/fabricators/account_warning_fabricator.rb
+++ b/spec/fabricators/account_warning_fabricator.rb
@@ -1,5 +1,6 @@
 Fabricator(:account_warning) do
-  account        nil
-  target_account nil
-  text           "MyText"
+  account
+  target_account(fabricator: :account)
+  text { Faker::Lorem.paragraph }
+  action 'suspend'
 end