about summary refs log tree commit diff
path: root/spec/fabricators/poll_fabricator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fabricators/poll_fabricator.rb')
-rw-r--r--spec/fabricators/poll_fabricator.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/fabricators/poll_fabricator.rb b/spec/fabricators/poll_fabricator.rb
new file mode 100644
index 000000000..746610f7c
--- /dev/null
+++ b/spec/fabricators/poll_fabricator.rb
@@ -0,0 +1,8 @@
+Fabricator(:poll) do
+  account
+  status
+  expires_at  { 7.days.from_now }
+  options     %w(Foo Bar)
+  multiple    false
+  hide_totals false
+end