about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authornullkal <nullkal@nil.nu>2017-10-08 03:26:43 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-10-07 20:26:43 +0200
commit633426b2616e8559acfa76f4294a51afcf434fc2 (patch)
tree38759fbbd11bb3b40bc29e1a0f8ce048d15c7ce3 /spec/fabricators
parentf486ef2666dacbcb6fcd26e371bb5e945369dcfe (diff)
Add moderation note (#5240)
* Add moderation note

* Add frozen_string_literal

* Make rspec pass
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/account_moderation_note_fabricator.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/fabricators/account_moderation_note_fabricator.rb b/spec/fabricators/account_moderation_note_fabricator.rb
new file mode 100644
index 000000000..9277af165
--- /dev/null
+++ b/spec/fabricators/account_moderation_note_fabricator.rb
@@ -0,0 +1,4 @@
+Fabricator(:account_moderation_note) do
+  content "MyText"
+  account nil
+end