diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-02-23 13:59:49 -0300 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-02-23 13:59:49 -0300 |
commit | 3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df (patch) | |
tree | 79520ac71677f154f91bbe29d11199ba5ab8de0f /guides/source | |
parent | 79887593c18919fed49f441d64236362cb755872 (diff) | |
parent | d96550b53ecf3816dff3cb0d68dc976028dc9351 (diff) | |
download | rails-3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df.tar.gz rails-3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df.tar.bz2 rails-3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df.zip |
Merge pull request #23789 from wisetara/wisetara/deprecate-args-ActiveSupport__TestCase#assert_nothing_raised-for-pr
Wisetara/deprecate args active support test case#assert nothing raised for pr
Diffstat (limited to 'guides/source')
-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 7a9a30f7ac..09eec7a64c 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -287,7 +287,7 @@ specify to make your test failure messages clearer. | `assert_not_in_delta( expected, actual, [delta], [msg] )` | Ensures that the numbers `expected` and `actual` are not within `delta` of each other.| | `assert_throws( symbol, [msg] ) { block }` | Ensures that the given block throws the symbol.| | `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_nothing_raised { block }` | Ensures that the given block doesn't raise any 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 an instance of `class` or is descending from it.| |