summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-12 12:32:06 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-12 12:32:06 +0000
commit3339dbf3c7aa563a8de95a5ec342bb4b95cdcbac (patch)
treea9a199d973fcd34302538d50cd08646667b9f5f9 /test
parent8e95e56e26d941cc0f8b4f0260172ac5f8d83ff4 (diff)
downloadredmine-3339dbf3c7aa563a8de95a5ec342bb4b95cdcbac.tar.gz
redmine-3339dbf3c7aa563a8de95a5ec342bb4b95cdcbac.zip
remove spaces inside {} of QueriesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20348 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/queries_controller_test.rb10
1 files changed, 5 insertions, 5 deletions
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