aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-12-09 16:12:56 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-12-09 16:12:56 +0900
commit7fab05008c5e244437efbdff2c19f8684e73e0c8 (patch)
tree569c9d18f6e51eae10f3d4f3684526fba4bc7b17 /guides
parentc873746c506e193cf6294d8919d464997d54eadb (diff)
downloadrails-7fab05008c5e244437efbdff2c19f8684e73e0c8.tar.gz
rails-7fab05008c5e244437efbdff2c19f8684e73e0c8.tar.bz2
rails-7fab05008c5e244437efbdff2c19f8684e73e0c8.zip
remove deprecated `assert_send` from assertion list [ci skip]
`assert_send` was deprecated in minitest 5.10.0. Ref: https://github.com/seattlerb/minitest/commit/f95ef007ec64d956d88fedc37fd2ed7e106b777e
Diffstat (limited to 'guides')
-rw-r--r--guides/source/testing.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 29a9537141..6f783089a9 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -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 &