about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-03-02 18:57:08 +0100
committerGitHub <noreply@github.com>2022-03-02 18:57:08 +0100
commit02b8d63fcef2d30e2514111ec89308a9435dd2ed (patch)
tree4cf66422b9aa934e810d320b61ba8d545975c694 /spec/fabricators
parent462a6f7d721fa0717c5627fd0f0d73ee9ec5a675 (diff)
Fix report category not being saved in REST API (#17682)
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/rule_fabricator.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/fabricators/rule_fabricator.rb b/spec/fabricators/rule_fabricator.rb
index 4bdfd05e0..bc29bc48e 100644
--- a/spec/fabricators/rule_fabricator.rb
+++ b/spec/fabricators/rule_fabricator.rb
@@ -1,5 +1,5 @@
 Fabricator(:rule) do
-  priority   ""
-  deleted_at "2021-02-21 05:51:09"
-  text       "MyText"
-end
\ No newline at end of file
+  priority   0
+  deleted_at nil
+  text       { Faker::Lorem.paragraph }
+end