mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user