##// 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 end
107 end
108
108
109 ApplicationHelper.send(:include, Redmine::Hook::Helper)
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 end
37 end
38 set_language_if_valid('en')
38 set_language_if_valid('en')
39 end
39 end
40
41 def test_call_hook_mixed_in
42 assert @controller.respond_to?(:call_hook)
43 end
40 end
44 end
General Comments 0
You need to be logged in to leave comments. Login now