mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 04:48:53 +08:00
7 lines
239 B
Ruby
7 lines
239 B
Ruby
|
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
|