##// END OF EJS Templates
Included Redmine::Hook::Helper to ActionController::Base so call_hook...
Eric Davis -
r1977:8b3a8ac1b478
parent child
Show More
@@ -107,3 +107,4 module Redmine
107 107 end
108 108
109 109 ApplicationHelper.send(:include, Redmine::Hook::Helper)
110 ActionController::Base.send(:include, Redmine::Hook::Helper)
@@ -37,4 +37,8 class ApplicationControllerTest < Test::Unit::TestCase
37 37 end
38 38 set_language_if_valid('en')
39 39 end
40
41 def test_call_hook_mixed_in
42 assert @controller.respond_to?(:call_hook)
43 end
40 44 end
General Comments 0
You need to be logged in to leave comments. Login now