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

test/helpers/application_helper_test.rb

index b33d7c287bf37e7e17659ee964b8b4b7f9a1ac19..606941736908b2cfd10ba07bb7cce7fb1b3ccf38 100644 (file)
@@ -1537,7 +1537,7 @@ class ApplicationHelperTest < Redmine::HelperTest
   def test_render_page_hierarchy_with_timestamp
     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, :timestamp => true)
     assert_select_in(
       result, 'ul.pages-hierarchy li a[title=?]',