diff options
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/helper_test.rb b/actionpack/test/controller/helper_test.rb index 6fb67ee38e..98c8f7e72c 100644 --- a/actionpack/test/controller/helper_test.rb +++ b/actionpack/test/controller/helper_test.rb @@ -77,8 +77,8 @@ class HelperTest < Test::Unit::TestCase def test_declare_missing_file_from_helper require 'broken_helper' - rescue LoadError => e - assert_nil /\bbroken_helper\b/.match(e.to_s)[1] + rescue LoadError => e + assert_nil(/\bbroken_helper\b/.match(e.to_s)[1]) end def test_helper_block |