summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/factories/emails.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/spec/factories/emails.rb b/spec/factories/emails.rb
index ed072213153..9794772ac7d 100644
--- a/spec/factories/emails.rb
+++ b/spec/factories/emails.rb
@@ -1,14 +1,6 @@
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
+ email { FFaker::Internet.email('alias') }
end
end