summaryrefslogtreecommitdiff
path: root/spec/factories/sent_notifications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/sent_notifications.rb')
-rw-r--r--spec/factories/sent_notifications.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/sent_notifications.rb b/spec/factories/sent_notifications.rb
new file mode 100644
index 00000000000..78eb929c6e7
--- /dev/null
+++ b/spec/factories/sent_notifications.rb
@@ -0,0 +1,8 @@
+FactoryGirl.define do
+ factory :sent_notification do
+ project
+ recipient factory: :user
+ noteable factory: :issue
+ reply_key "0123456789abcdef" * 2
+ end
+end