diff options
author | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-05-10 10:21:16 -0400 |
---|---|---|
committer | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-05-10 10:21:16 -0400 |
commit | 5495c82dda4070796d441c09577bec4e6092d8f3 (patch) | |
tree | 5a5cf69138e3781c9391bbe94f905b2059d4ac4c /guides | |
parent | 7fb45a6130598703b3da8fe9ef29a5c7a1eb9d09 (diff) | |
parent | 5f3bd44710b067f0ab6a6ac0af1500d9ab072ab5 (diff) | |
download | rails-5495c82dda4070796d441c09577bec4e6092d8f3.tar.gz rails-5495c82dda4070796d441c09577bec4e6092d8f3.tar.bz2 rails-5495c82dda4070796d441c09577bec4e6092d8f3.zip |
Merge pull request #20096 from yui-knk/fix/testing_guide
[ci skip] Fix purpose of `assert_kind_of`
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index cc469f4dae..8278bdcd5d 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -435,7 +435,7 @@ specify to make your test failure messages clearer. It's not required. | `assert_nothing_raised( exception1, exception2, ... ) { block }` | Ensures that the given block doesn't raise one of the given exceptions.| | `assert_instance_of( class, obj, [msg] )` | Ensures that `obj` is an instance of `class`.| | `assert_not_instance_of( class, obj, [msg] )` | Ensures that `obj` is not an instance of `class`.| -| `assert_kind_of( class, obj, [msg] )` | Ensures that `obj` is or descends from `class`.| +| `assert_kind_of( class, obj, [msg] )` | Ensures that `obj` is an instance of `class` or is descending from it.| | `assert_not_kind_of( class, obj, [msg] )` | Ensures that `obj` is not an instance of `class` and is not descending from it.| | `assert_respond_to( obj, symbol, [msg] )` | Ensures that `obj` responds to `symbol`.| | `assert_not_respond_to( obj, symbol, [msg] )` | Ensures that `obj` does not respond to `symbol`.| |