aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-12-09 10:59:51 +0100
committerGitHub <noreply@github.com>2016-12-09 10:59:51 +0100
commitcfc126e150659f91ccc0892197e7825af7c7327b (patch)
tree569c9d18f6e51eae10f3d4f3684526fba4bc7b17 /guides
parentc873746c506e193cf6294d8919d464997d54eadb (diff)
parent7fab05008c5e244437efbdff2c19f8684e73e0c8 (diff)
downloadrails-cfc126e150659f91ccc0892197e7825af7c7327b.tar.gz
rails-cfc126e150659f91ccc0892197e7825af7c7327b.tar.bz2
rails-cfc126e150659f91ccc0892197e7825af7c7327b.zip
Merge pull request #27311 from y-yagi/remove_assert_send
remove deprecated `assert_send` from assertion list [ci skip]
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 &