From 6df45eb4630d3eef4f232398de405b169c3c6876 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Tue, 16 Feb 2016 22:55:24 -0500 Subject: Move all factory definitions to their own file --- spec/factories/sent_notifications.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 spec/factories/sent_notifications.rb (limited to 'spec/factories/sent_notifications.rb') 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 -- cgit v1.2.3