1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

remove trailing white spaces from test/functional/queries_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16967 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2017-09-15 04:49:32 +00:00
parent a461e76aef
commit caca511d25

View File

@ -96,10 +96,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:f => ["status_id", "assigned_to_id"], :f => ["status_id", "assigned_to_id"],
:op => { :op => {
"assigned_to_id" => "=", "status_id" => "o" "assigned_to_id" => "=", "status_id" => "o"
}, },
:v => { :v => {
"assigned_to_id" => ["1"], "status_id" => ["1"] "assigned_to_id" => ["1"], "status_id" => ["1"]
}, },
:query => { :query => {
"name" => "test_new_project_public_query", "visibility" => "2" "name" => "test_new_project_public_query", "visibility" => "2"
} }
@ -120,10 +120,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:fields => ["status_id", "assigned_to_id"], :fields => ["status_id", "assigned_to_id"],
:operators => { :operators => {
"assigned_to_id" => "=", "status_id" => "o" "assigned_to_id" => "=", "status_id" => "o"
}, },
:values => { :values => {
"assigned_to_id" => ["1"], "status_id" => ["1"] "assigned_to_id" => ["1"], "status_id" => ["1"]
}, },
:query => { :query => {
"name" => "test_new_project_private_query", "visibility" => "0" "name" => "test_new_project_private_query", "visibility" => "0"
} }
@ -144,10 +144,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:fields => ["status_id", "assigned_to_id"], :fields => ["status_id", "assigned_to_id"],
:operators => { :operators => {
"assigned_to_id" => "=", "status_id" => "o" "assigned_to_id" => "=", "status_id" => "o"
}, },
:values => { :values => {
"assigned_to_id" => ["1"], "status_id" => ["1"] "assigned_to_id" => ["1"], "status_id" => ["1"]
}, },
:query => { :query => {
"name" => "test_create_project_roles_query", "visibility" => "1", "role_ids" => ["1", "2", ""] "name" => "test_create_project_roles_query", "visibility" => "1", "role_ids" => ["1", "2", ""]
} }
@ -165,13 +165,13 @@ class QueriesControllerTest < Redmine::ControllerTest
:fields => ["status_id", "assigned_to_id"], :fields => ["status_id", "assigned_to_id"],
:operators => { :operators => {
"assigned_to_id" => "=", "status_id" => "o" "assigned_to_id" => "=", "status_id" => "o"
}, },
:values => { :values => {
"assigned_to_id" => ["me"], "status_id" => ["1"] "assigned_to_id" => ["me"], "status_id" => ["1"]
}, },
:query => { :query => {
"name" => "test_new_global_private_query", "visibility" => "0" "name" => "test_new_global_private_query", "visibility" => "0"
}, },
:c => ["", "tracker", "subject", "priority", "category"] :c => ["", "tracker", "subject", "priority", "category"]
} }
@ -189,10 +189,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:fields => ["assigned_to_id"], :fields => ["assigned_to_id"],
:operators => { :operators => {
"assigned_to_id" => "=" "assigned_to_id" => "="
}, },
:values => { :values => {
"assigned_to_id" => ["me"] "assigned_to_id" => ["me"]
}, },
:query => { :query => {
"name" => "test_new_global_query" "name" => "test_new_global_query"
} }
@ -212,15 +212,15 @@ class QueriesControllerTest < Redmine::ControllerTest
:default_columns => '1', :default_columns => '1',
:operators => { :operators => {
"status_id" => "o" "status_id" => "o"
}, },
:values => { :values => {
"status_id" => ["1"] "status_id" => ["1"]
}, },
:query => { :query => {
:name => "test_new_with_sort", :name => "test_new_with_sort",
:visibility => "2", :visibility => "2",
:sort_criteria => { :sort_criteria => {
"0" => ["due_date", "desc"], "1" => ["tracker", ""]} "0" => ["due_date", "desc"], "1" => ["tracker", ""]}
} }
} }
@ -276,10 +276,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:gantt => 1, :gantt => 1,
:operators => { :operators => {
"status_id" => "o" "status_id" => "o"
}, },
:values => { :values => {
"status_id" => ["1"] "status_id" => ["1"]
}, },
:query => { :query => {
:name => "test_create_from_gantt", :name => "test_create_from_gantt",
:draw_relations => '1', :draw_relations => '1',
@ -302,10 +302,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:gantt => 1, :gantt => 1,
:operators => { :operators => {
"status_id" => "o" "status_id" => "o"
}, },
:values => { :values => {
"status_id" => ["1"] "status_id" => ["1"]
}, },
:query => { :query => {
:name => "test_create_from_gantt", :name => "test_create_from_gantt",
:draw_relations => '0', :draw_relations => '0',
@ -409,10 +409,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:f => ["spent_on"], :f => ["spent_on"],
:op => { :op => {
"spent_on" => "=" "spent_on" => "="
}, },
:v => { :v => {
"spent_on" => ["2016-07-14"] "spent_on" => ["2016-07-14"]
}, },
:query => { :query => {
"name" => "test_new_project_public_query", "visibility" => "2" "name" => "test_new_project_public_query", "visibility" => "2"
} }
@ -498,10 +498,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:fields => ["status_id", "assigned_to_id"], :fields => ["status_id", "assigned_to_id"],
:operators => { :operators => {
"assigned_to_id" => "=", "status_id" => "o" "assigned_to_id" => "=", "status_id" => "o"
}, },
:values => { :values => {
"assigned_to_id" => ["me"], "status_id" => ["1"] "assigned_to_id" => ["me"], "status_id" => ["1"]
}, },
:query => { :query => {
"name" => "test_edit_global_private_query", "visibility" => "2" "name" => "test_edit_global_private_query", "visibility" => "2"
} }
@ -522,10 +522,10 @@ class QueriesControllerTest < Redmine::ControllerTest
:fields => ["status_id", "assigned_to_id"], :fields => ["status_id", "assigned_to_id"],
:operators => { :operators => {
"assigned_to_id" => "=", "status_id" => "o" "assigned_to_id" => "=", "status_id" => "o"
}, },
:values => { :values => {
"assigned_to_id" => ["1"], "status_id" => ["1"] "assigned_to_id" => ["1"], "status_id" => ["1"]
}, },
:query => { :query => {
"name" => "test_edit_global_public_query", "visibility" => "2" "name" => "test_edit_global_public_query", "visibility" => "2"
} }