diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-23 05:37:55 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-23 05:37:55 +0000 |
commit | 6a6d5e45609f2af448e7201aa6d7c2dd309c1640 (patch) | |
tree | 5db85362ad70665822d27e84b716920b921f0b1f /test/integration | |
parent | 51380182e07781decc77a311bef77e58e693014f (diff) | |
download | redmine-6a6d5e45609f2af448e7201aa6d7c2dd309c1640.tar.gz redmine-6a6d5e45609f2af448e7201aa6d7c2dd309c1640.zip |
code cleanup: rubocop: fix Layout/ClosingHeredocIndentation and Layout/IndentHeredoc in test/integration/lib/redmine/hook_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18849 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/lib/redmine/hook_test.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/integration/lib/redmine/hook_test.rb b/test/integration/lib/redmine/hook_test.rb index 72f221d96..0a9ff16cb 100644 --- a/test/integration/lib/redmine/hook_test.rb +++ b/test/integration/lib/redmine/hook_test.rb @@ -39,14 +39,14 @@ class HookTest < Redmine::IntegrationTest Redmine::Hook.clear_listeners class ContentForInsideHook < Redmine::Hook::ViewListener - render_on :view_welcome_index_left, :inline => <<-VIEW -<% content_for :header_tags do %> - <%= javascript_include_tag 'test_plugin.js', :plugin => 'test_plugin' %> - <%= stylesheet_link_tag 'test_plugin.css', :plugin => 'test_plugin' %> -<% end %> - -<p>ContentForInsideHook content</p> -VIEW + render_on :view_welcome_index_left, :inline => <<~VIEW + <% content_for :header_tags do %> + <%= javascript_include_tag 'test_plugin.js', :plugin => 'test_plugin' %> + <%= stylesheet_link_tag 'test_plugin.css', :plugin => 'test_plugin' %> + <% end %> + + <p>ContentForInsideHook content</p> + VIEW end class SingleRenderOn < Redmine::Hook::ViewListener |