aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorFlorian Thomas <flo@florianthomas.net>2013-04-21 16:31:29 -0300
committerFlorian Thomas <flo@florianthomas.net>2013-04-21 16:31:29 -0300
commit88b08f0786bb1843d20f7b10e2709440d8bf958d (patch)
tree0b378fb8ca4ae99ced621bc74217118705279c04 /guides
parent825d67687f37a7a223ee9025500abeb6b0bb6770 (diff)
downloadrails-88b08f0786bb1843d20f7b10e2709440d8bf958d.tar.gz
rails-88b08f0786bb1843d20f7b10e2709440d8bf958d.tar.bz2
rails-88b08f0786bb1843d20f7b10e2709440d8bf958d.zip
fixes typo in testing guide
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 7a182e1410..b198f5632f 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -372,7 +372,7 @@ Here's an extract of the assertions you can use with `minitest`, the default tes
| `assert_raises( exception1, exception2, ... ) { block }` | Ensures that the given block raises one of the given exceptions.|
| `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`.|
-| `refute_instance_of( class, obje, [msg] )` | Ensures that `obj` is not an instance of `class`.|
+| `refute_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`.|
| `refute_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`.|