aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-05-10 21:40:31 +0900
committeryui-knk <spiketeika@gmail.com>2015-05-10 21:40:31 +0900
commit5f3bd44710b067f0ab6a6ac0af1500d9ab072ab5 (patch)
tree5a5cf69138e3781c9391bbe94f905b2059d4ac4c /guides
parent7fb45a6130598703b3da8fe9ef29a5c7a1eb9d09 (diff)
downloadrails-5f3bd44710b067f0ab6a6ac0af1500d9ab072ab5.tar.gz
rails-5f3bd44710b067f0ab6a6ac0af1500d9ab072ab5.tar.bz2
rails-5f3bd44710b067f0ab6a6ac0af1500d9ab072ab5.zip
[ci skip] Fix purpose of `assert_kind_of`
Diffstat (limited to 'guides')
-rw-r--r--guides/source/testing.md2
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`.|