From 3339dbf3c7aa563a8de95a5ec342bb4b95cdcbac Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 12 Nov 2020 12:32:06 +0000 Subject: remove spaces inside {} of QueriesControllerTest git-svn-id: http://svn.redmine.org/redmine/trunk@20348 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/queries_controller_test.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb index 26a4b6642..f0a27f32b 100644 --- a/test/functional/queries_controller_test.rb +++ b/test/functional/queries_controller_test.rb @@ -139,25 +139,25 @@ class QueriesControllerTest < Redmine::ControllerTest def test_new_with_gantt_params @request.session[:user_id] = 2 - get :new, :params => { :gantt => 1 } + get :new, :params => {:gantt => 1} assert_response :success assert_select 'input[type="hidden"]#gantt', 1 assert_select 'fieldset#options' assert_select 'fieldset#filters' - assert_select 'fieldset legend', { :text => 'Sort', :count => 0 } + assert_select 'fieldset legend', {:text => 'Sort', :count => 0} assert_select 'fieldset#columns' end def test_new_with_calendar_params @request.session[:user_id] = 2 - get :new, :params => { :calendar => 1 } + get :new, :params => {:calendar => 1} assert_response :success assert_select 'input[type="hidden"]#calendar', 1 assert_select 'fieldset#options', :count => 0 assert_select 'fieldset#filters' - assert_select 'fieldset legend', { :text => 'Sort', :count => 0 } + assert_select 'fieldset legend', {:text => 'Sort', :count => 0} assert_select 'fieldset#columns', :count => 0 end @@ -168,7 +168,7 @@ class QueriesControllerTest < Redmine::ControllerTest assert_select 'fieldset#options' assert_select 'fieldset#filters' - assert_select 'fieldset legend', { :text => 'Sort' } + assert_select 'fieldset legend', {:text => 'Sort'} assert_select 'fieldset#columns' end -- cgit v1.2.3