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/emails.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 spec/factories/emails.rb (limited to 'spec/factories/emails.rb') diff --git a/spec/factories/emails.rb b/spec/factories/emails.rb new file mode 100644 index 00000000000..ed072213153 --- /dev/null +++ b/spec/factories/emails.rb @@ -0,0 +1,14 @@ +FactoryGirl.define do + factory :email do + user + email do + FFaker::Internet.email('alias') + end + + factory :another_email do + email do + FFaker::Internet.email('another.alias') + end + end + end +end -- cgit v1.2.1