diff options
author | burningTyger <m8r-0478r31@safetymail.info> | 2011-04-01 00:12:58 +0200 |
---|---|---|
committer | burningTyger <m8r-0478r31@safetymail.info> | 2011-04-01 00:12:58 +0200 |
commit | 63e4e218c57a1b5f19ba18acaa3c83ff0034a2dc (patch) | |
tree | c54b3a91600a24f5d6b98c59504f5d866b619c6c /railties/guides/source/testing.textile | |
parent | a64abdda2505895fec6f0243db5928316c4df90a (diff) | |
download | rails-63e4e218c57a1b5f19ba18acaa3c83ff0034a2dc.tar.gz rails-63e4e218c57a1b5f19ba18acaa3c83ff0034a2dc.tar.bz2 rails-63e4e218c57a1b5f19ba18acaa3c83ff0034a2dc.zip |
fix typo
Diffstat (limited to 'railties/guides/source/testing.textile')
-rw-r--r-- | railties/guides/source/testing.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile index d937f30609..b42ea15f62 100644 --- a/railties/guides/source/testing.textile +++ b/railties/guides/source/testing.textile @@ -391,7 +391,7 @@ There are a bunch of different types of assertions you can use. Here's the compl |+assert_nil( obj, [msg] )+ |Ensures that +obj.nil?+ is true.| |+assert_not_nil( obj, [msg] )+ |Ensures that +obj.nil?+ is false.| |+assert_match( regexp, string, [msg] )+ |Ensures that a string matches the regular expression.| -|+assert_no_match( regexp, string, [msg] )+ |Ensures that a string doesn't matches the regular expression.| +|+assert_no_match( regexp, string, [msg] )+ |Ensures that a string doesn't match the regular expression.| |+assert_in_delta( expecting, actual, delta, [msg] )+ |Ensures that the numbers +expecting+ and +actual+ are within +delta+ of each other.| |+assert_throws( symbol, [msg] ) { block }+ |Ensures that the given block throws the symbol.| |+assert_raise( exception1, exception2, ... ) { block }+ |Ensures that the given block raises one of the given exceptions.| |