FactoryGirl.define do
  sequence(:name) { |i| "Name_#{i}" }
	sequence(:email) { |i| "user_#{i}@mail.com" }
  sequence(:title) { |i| "Title_#{i}" }
end

FactoryGirl.define do
  sequence(:name) { |i| "Name_#{i}" }
	sequence(:email) { |i| "user_#{SecureRandom.hex(5)}@mail.com" }
  sequence(:title) { |i| "Title_#{i}" }
end

Add a random option to email sequence in FactoryGirl
Add a random option to email sequence in FactoryGirl
