From 8b3a8ac1b47896598b060522d2d37b9bd4458d08 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Thu, 6 Nov 2008 05:37:29 +0000 Subject: Included Redmine::Hook::Helper to ActionController::Base so call_hook is available in all controllers. #2111 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1979 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/application_controller_test.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/functional/application_controller_test.rb b/test/functional/application_controller_test.rb index 6fcf8fe9a..7d1cc8391 100644 --- a/test/functional/application_controller_test.rb +++ b/test/functional/application_controller_test.rb @@ -37,4 +37,8 @@ class ApplicationControllerTest < Test::Unit::TestCase end set_language_if_valid('en') end + + def test_call_hook_mixed_in + assert @controller.respond_to?(:call_hook) + end end -- cgit v1.2.3