heartcombo--devise/test/models
Carlos Antonio da Silva 70eb18d766 Notify original user email when the email changes
This adds a new setting `send_email_change_notification` which will
send an email to the original user email when their email is updated to
a new one.

It doesn't take into account the reconfirmable setting yet, it will be
added next, so that if confirmable is included and reconfirmable is
being used, the email will be triggered when the email change is
requested, not when confirmed (e.g when we store the email in
`unconfirmed_email`, not when it's later copied to `email` when that is
confirmed).
2017-03-06 17:04:26 -03:00
..
authenticatable_test.rb Ensure that we sanitize any `AC::Parameters` in `find_or_initialize_with_errors`. 2014-09-18 18:21:05 -03:00
confirmable_test.rb Change behavior to skip reconfirmation after creating a record with #save called in callback (#4125) 2016-06-13 17:57:24 -03:00
database_authenticatable_test.rb Notify original user email when the email changes 2017-03-06 17:04:26 -03:00
lockable_test.rb Replace custom `Array` assertion with `assert_equal`. 2016-05-03 14:18:35 -03:00
omniauthable_test.rb Replace custom `Array` assertion with `assert_equal`. 2016-05-03 14:18:35 -03:00
recoverable_test.rb Use assert_nil to prevent minitest warnings 2017-03-02 08:12:46 -03:00
registerable_test.rb Replace custom `Array` assertion with `assert_equal`. 2016-05-03 14:18:35 -03:00
rememberable_test.rb Fix test typo and expand test cases for `Rememberable#rememberable_value`. 2016-06-27 17:08:52 -03:00
serializable_test.rb Implement Devise::Models::Authenticatable#inspect, re-using #serializable_hash. 2016-06-03 15:54:58 -07:00
timeoutable_test.rb Replace custom `Array` assertion with `assert_equal`. 2016-05-03 14:18:35 -03:00
trackable_test.rb Replace custom `Array` assertion with `assert_equal`. 2016-05-03 14:18:35 -03:00
validatable_test.rb Replace homemade `assert_not` matcher in favor of `refute`. 2016-05-03 13:57:10 -03:00