diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-02-16 22:55:24 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-04 15:26:51 -0500 |
commit | 6df45eb4630d3eef4f232398de405b169c3c6876 (patch) | |
tree | 1f059ced536939bc14ea5d86fba8afce04537d40 /spec/factories/sent_notifications.rb | |
parent | 5de46014d74c1805b6bb090f5b2abebd6fb1f399 (diff) | |
download | gitlab-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.rb | 8 |
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 |