mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove deprecated assert_send
from assertion list [ci skip]
`assert_send` was deprecated in minitest 5.10.0.
Ref: f95ef007ec
This commit is contained in:
parent
c873746c50
commit
7fab05008c
1 changed files with 0 additions and 1 deletions
|
@ -322,7 +322,6 @@ specify to make your test failure messages clearer.
|
|||
| `assert_not_operator( obj1, operator, [obj2], [msg] )` | Ensures that `obj1.operator(obj2)` is false.|
|
||||
| `assert_predicate ( obj, predicate, [msg] )` | Ensures that `obj.predicate` is true, e.g. `assert_predicate str, :empty?`|
|
||||
| `assert_not_predicate ( obj, predicate, [msg] )` | Ensures that `obj.predicate` is false, e.g. `assert_not_predicate str, :empty?`|
|
||||
| `assert_send( array, [msg] )` | Ensures that executing the method listed in `array[1]` on the object in `array[0]` with the parameters of `array[2 and up]` is true, e.g. assert_send [@user, :full_name, 'Sam Smith']. This one is weird eh?|
|
||||
| `flunk( [msg] )` | Ensures failure. This is useful to explicitly mark a test that isn't finished yet.|
|
||||
|
||||
The above are a subset of assertions that minitest supports. For an exhaustive &
|
||||
|
|
Loading…
Reference in a new issue