]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of ApplicationHelperTest#test_render_page_hierarchy
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 15 Jul 2020 16:37:11 +0000 (16:37 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 15 Jul 2020 16:37:11 +0000 (16:37 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19907 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/application_helper_test.rb

index 606941736908b2cfd10ba07bb7cce7fb1b3ccf38..4d522fdc944f1d5b737e75fb7c542f629d151738 100644 (file)
@@ -1522,7 +1522,7 @@ class ApplicationHelperTest < Redmine::HelperTest
   def test_render_page_hierarchy
     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]}
     result = render_page_hierarchy(pages_by_parent_id, nil)
     assert_select_in(
       result, 'ul.pages-hierarchy li a[href=?]',