emails.rb 232 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 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