diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-07-06 20:21:58 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-07-06 20:21:58 +0300 |
commit | 382b5ca7dda7ee6e4c0adebfda767db6acc407d2 (patch) | |
tree | 7abc739f5e64b286a5a10239f9f873bde9d8588a /activestorage/lib/active_storage.rb | |
parent | 73a9f64091e49ad1db9f683422943326b531652f (diff) | |
download | rails-382b5ca7dda7ee6e4c0adebfda767db6acc407d2.tar.gz rails-382b5ca7dda7ee6e4c0adebfda767db6acc407d2.tar.bz2 rails-382b5ca7dda7ee6e4c0adebfda767db6acc407d2.zip |
Improve `SecurePasswordTest#test_authenticate`
- Ensure that execution of `authenticate`/`authenticate_XXX` returns
`self` if password is correct, otherwise `false` (as mentioned in the documentation).
- Test `authenticate_password`.
Diffstat (limited to 'activestorage/lib/active_storage.rb')
0 files changed, 0 insertions, 0 deletions