From ea5e3192d57c80469738727581fe3c24586b5f4e Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 24 Mar 2015 15:32:13 +0800 Subject: Fix incorrect description for `assert_nothing_raised`. --- activesupport/lib/active_support/test_case.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/test_case.rb') 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 # ... -- cgit v1.2.3