diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-03 14:31:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-03 14:31:32 +0000 |
commit | 3c06f66d716cb7abba98f5efec203afb0e3578e8 (patch) | |
tree | cdd6ad515364936a7cb69e5297c80856e210b691 /test/functional/queries_controller_test.rb | |
parent | 87bcb215630263f7ccb6480d2a44cf8901ea84d5 (diff) | |
download | redmine-3c06f66d716cb7abba98f5efec203afb0e3578e8.tar.gz redmine-3c06f66d716cb7abba98f5efec203afb0e3578e8.zip |
Shorten query[column_names] param name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5304 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/queries_controller_test.rb')
-rw-r--r-- | test/functional/queries_controller_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb index 3ef897d69..ea3a7ada5 100644 --- a/test/functional/queries_controller_test.rb +++ b/test/functional/queries_controller_test.rb @@ -101,7 +101,8 @@ class QueriesControllerTest < ActionController::TestCase :fields => ["status_id", "assigned_to_id"], :operators => {"assigned_to_id" => "=", "status_id" => "o"}, :values => { "assigned_to_id" => ["me"], "status_id" => ["1"]}, - :query => {"name" => "test_new_global_private_query", "is_public" => "1", "column_names" => ["", "tracker", "subject", "priority", "category"]} + :query => {"name" => "test_new_global_private_query", "is_public" => "1"}, + :c => ["", "tracker", "subject", "priority", "category"] q = Query.find_by_name('test_new_global_private_query') assert_redirected_to :controller => 'issues', :action => 'index', :project_id => nil, :query_id => q |