aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/test_case.rb
diff options
context:
space:
mode:
authorGuo Xiang Tan <tgx_world@hotmail.com>2015-03-24 15:32:13 +0800
committerGuo Xiang Tan <tgx_world@hotmail.com>2015-03-24 15:32:13 +0800
commitea5e3192d57c80469738727581fe3c24586b5f4e (patch)
tree89db3ccbb60e63fc1c610886fcacb04ae8b6ac75 /activesupport/lib/active_support/test_case.rb
parent639159cebed293b5f3a5101ba0b6391c17e0babd (diff)
downloadrails-ea5e3192d57c80469738727581fe3c24586b5f4e.tar.gz
rails-ea5e3192d57c80469738727581fe3c24586b5f4e.tar.bz2
rails-ea5e3192d57c80469738727581fe3c24586b5f4e.zip
Fix incorrect description for `assert_nothing_raised`.
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r--activesupport/lib/active_support/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index 9a45c07e8d..24b8f4b9f9 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -73,7 +73,7 @@ module ActiveSupport
alias :assert_not_respond_to :refute_respond_to
alias :assert_not_same :refute_same
- # Fails if the block raises an exception.
+ # Reveals the intention that the block should not raise any exception.
#
# assert_nothing_raised do
# ...