From: Toshi MARUYAMA Date: Wed, 27 May 2020 01:56:46 +0000 (+0000) Subject: shorten log line at GanttsControllerTest#test_gantt_should_work X-Git-Tag: 4.2.0~999 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7d97cd4d5c4474806e77c08ae57ccf14f2de10c1;p=redmine.git shorten log line at GanttsControllerTest#test_gantt_should_work git-svn-id: http://svn.redmine.org/redmine/trunk@19790 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/gantts_controller_test.rb b/test/functional/gantts_controller_test.rb index 9b86a8734..a6be637ca 100644 --- a/test/functional/gantts_controller_test.rb +++ b/test/functional/gantts_controller_test.rb @@ -52,8 +52,14 @@ class GanttsControllerTest < Redmine::ControllerTest end assert_select 'p.contextual' do prev_month, next_month = User.current.today.prev_month, User.current.today.next_month - assert_select 'a[accesskey="p"][href=?]', project_gantt_path(:project_id => 1, :month => prev_month.month, :year => prev_month.year) - assert_select 'a[accesskey="n"][href=?]', project_gantt_path(:project_id => 1, :month => next_month.month, :year => next_month.year) + assert_select( + 'a[accesskey="p"][href=?]', + project_gantt_path(:project_id => 1, :month => prev_month.month, :year => prev_month.year) + ) + assert_select( + 'a[accesskey="n"][href=?]', + project_gantt_path(:project_id => 1, :month => next_month.month, :year => next_month.year) + ) end assert_select 'p.buttons' end