mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
Refactor SessionController#create, reduce complexity.
Don't compromise readablity
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
Fabricator(:email_log,) do
|
||||
Fabricator(:email_log) do
|
||||
user
|
||||
to_address { sequence(:address) { |i| "blah#{i}@example.com" } }
|
||||
email_type :invite
|
||||
|
Reference in New Issue
Block a user