diff options
| author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-08-14 08:52:42 +0300 |
|---|---|---|
| committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-08-14 09:01:01 +0300 |
| commit | 88439585edbb49ecacce72a4277992f212dbbc75 (patch) | |
| tree | 74492a6c07ee0728d76dc0321f0100fee5f6c2ac /activemodel/lib/active_model/validations/helper_methods.rb | |
| parent | f2970a08b57ebcdb9cbf8eec5d10a7f04eb7b9d3 (diff) | |
| download | rails-88439585edbb49ecacce72a4277992f212dbbc75.tar.gz rails-88439585edbb49ecacce72a4277992f212dbbc75.tar.bz2 rails-88439585edbb49ecacce72a4277992f212dbbc75.zip | |
Test `assert_called` and `assert_called_with`
- ActiveSupport::Testing::MethodCallAssertions#assert_called
- Ensure that the method stubbed by `assert_called` returns correct value after
- ActiveSupport::Testing::MethodCallAssertions#assert_called_with
- Ensure that `#assert_called_with` stubs the method to return a specific value
- Ensure that the method stubbed by `assert_called_with` returns correct value after
Diffstat (limited to 'activemodel/lib/active_model/validations/helper_methods.rb')
0 files changed, 0 insertions, 0 deletions
