summaryrefslogtreecommitdiff
path: root/spec/factories/sent_notifications.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-02-16 22:55:24 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-03-04 15:26:51 -0500
commit6df45eb4630d3eef4f232398de405b169c3c6876 (patch)
tree1f059ced536939bc14ea5d86fba8afce04537d40 /spec/factories/sent_notifications.rb
parent5de46014d74c1805b6bb090f5b2abebd6fb1f399 (diff)
downloadgitlab-ce-6df45eb4630d3eef4f232398de405b169c3c6876.tar.gz
Move all factory definitions to their own file
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