diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 90ed78513..b33d7c287 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1552,7 +1552,7 @@ class ApplicationHelperTest < Redmine::HelperTest def test_render_page_hierarchy_when_action_is_export parent_page = WikiPage.find(1) child_page = WikiPage.find_by(parent_id: parent_page.id) - pages_by_parent_id = { nil => [parent_page], parent_page.id => [child_page] } + pages_by_parent_id = {nil => [parent_page], parent_page.id => [child_page]} # Change controller and action using stub controller.stubs(:controller_name).returns('wiki')