about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-07 01:08:07 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-07 01:08:34 -0500
commitef04f3879ac3bd7ec6dddd6cb843c8cdb79a1175 (patch)
tree719373d32c084e20d878e9de13a034946c5663b3 /spec
parenta8475313b8e81f1e91ee446599a9b7b78716f30c (diff)
add option to automatically space out boosts over configurable random intervals
Diffstat (limited to 'spec')
-rw-r--r--spec/fabricators/queued_boost_fabricator.rb4
-rw-r--r--spec/models/queued_boost_spec.rb5
2 files changed, 9 insertions, 0 deletions
diff --git a/spec/fabricators/queued_boost_fabricator.rb b/spec/fabricators/queued_boost_fabricator.rb
new file mode 100644
index 000000000..35c744028
--- /dev/null
+++ b/spec/fabricators/queued_boost_fabricator.rb
@@ -0,0 +1,4 @@
+Fabricator(:queued_boost) do
+  account nil
+  status  nil
+end
diff --git a/spec/models/queued_boost_spec.rb b/spec/models/queued_boost_spec.rb
new file mode 100644
index 000000000..066be3dcd
--- /dev/null
+++ b/spec/models/queued_boost_spec.rb
@@ -0,0 +1,5 @@
+require 'rails_helper'
+
+RSpec.describe QueuedBoost, type: :model do
+  pending "add some examples to (or delete) #{__FILE__}"
+end