about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorShuhei Kitagawa <shuheiktgw@users.noreply.github.com>2018-05-22 21:45:10 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-05-22 14:45:10 +0200
commit12e590edd74daf85c6ab0880ef4556ad47068e7a (patch)
tree321174c57ee3fe3433f15079daba5f448b095ddf /spec/fabricators
parent36e47a31e33a86c401c2aaf1f9788ca0c91bdec0 (diff)
Add tests for report notes controller (#7589)
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/report_note_fabricator.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/fabricators/report_note_fabricator.rb b/spec/fabricators/report_note_fabricator.rb
new file mode 100644
index 000000000..e139efffb
--- /dev/null
+++ b/spec/fabricators/report_note_fabricator.rb
@@ -0,0 +1,5 @@
+Fabricator(:report_note) do
+  report
+  account { Fabricate(:account) }
+  content "Test Content"
+end