diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-12-09 10:59:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 10:59:51 +0100 |
commit | cfc126e150659f91ccc0892197e7825af7c7327b (patch) | |
tree | 569c9d18f6e51eae10f3d4f3684526fba4bc7b17 /guides/source | |
parent | c873746c506e193cf6294d8919d464997d54eadb (diff) | |
parent | 7fab05008c5e244437efbdff2c19f8684e73e0c8 (diff) | |
download | rails-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/source')
-rw-r--r-- | guides/source/testing.md | 1 |
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 & |