2019-04-29 20:27:42 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-12-21 04:00:45 -05:00
|
|
|
Fabricator(:email_change_request) do
|
|
|
|
user
|
|
|
|
old_email { sequence(:old_email) { |i| "bruce#{i}@wayne.com" } }
|
|
|
|
new_email { sequence(:new_email) { |i| "super#{i}@man.com" } }
|
|
|
|
change_state EmailChangeRequest.states[:authorizing_old]
|
|
|
|
end
|