mirror of
https://github.com/redmine/redmine.git
synced 2026-05-06 10:26:11 +02:00
Fixed that content_for does not work in Hook.render_on (#11105).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9785 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -89,7 +89,7 @@ class Redmine::Hook::ManagerTest < ActionView::TestCase
|
||||
|
||||
def test_call_hook_with_context
|
||||
@hook_module.add_listener(TestHook3)
|
||||
assert_equal ['Context keys: bar, controller, foo, project, request.'],
|
||||
assert_equal ['Context keys: bar, controller, foo, hook_caller, project, request.'],
|
||||
hook_helper.call_hook(:view_layouts_base_html_head, :foo => 1, :bar => 'a')
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user