aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract/helper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/abstract/helper_test.rb')
-rw-r--r--actionpack/test/abstract/helper_test.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/actionpack/test/abstract/helper_test.rb b/actionpack/test/abstract/helper_test.rb
index e79008fa9d..7960e5b55b 100644
--- a/actionpack/test/abstract/helper_test.rb
+++ b/actionpack/test/abstract/helper_test.rb
@@ -69,12 +69,10 @@ module AbstractController
end
def test_declare_missing_helper
- begin
- AbstractHelpers.helper :missing
- flunk "should have raised an exception"
- rescue LoadError => e
- assert_equal "helpers/missing_helper.rb", e.path
- end
+ AbstractHelpers.helper :missing
+ flunk "should have raised an exception"
+ rescue LoadError => e
+ assert_equal "helpers/missing_helper.rb", e.path
end
def test_helpers_with_module_through_block