diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-09 09:19:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-09 09:19:15 +0000 |
commit | d21bacb01de0f4ebbac72dfb98c541d7ba9401ac (patch) | |
tree | 0b3011b8b79ab91695e697361762fd6b54d89294 /test/unit/lib | |
parent | 8b381e3bd4ec47091dafa480fd34eba761a25f19 (diff) | |
download | redmine-d21bacb01de0f4ebbac72dfb98c541d7ba9401ac.tar.gz redmine-d21bacb01de0f4ebbac72dfb98c541d7ba9401ac.zip |
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
Diffstat (limited to 'test/unit/lib')
-rw-r--r-- | test/unit/lib/redmine/hook_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/hook_test.rb b/test/unit/lib/redmine/hook_test.rb index 225d49bda..4d42aa890 100644 --- a/test/unit/lib/redmine/hook_test.rb +++ b/test/unit/lib/redmine/hook_test.rb @@ -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 |