Shorten query[column_names] param name.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5304 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-04-03 14:31:32 +00:00
parent 87bcb21563
commit 3c06f66d71
5 changed files with 9 additions and 5 deletions

View File

@@ -248,7 +248,7 @@ class IssuesControllerTest < ActionController::TestCase
def test_index_with_columns
columns = ['tracker', 'subject', 'assigned_to']
get :index, :set_filter => 1, :query => { 'column_names' => columns}
get :index, :set_filter => 1, :c => columns
assert_response :success
# query should use specified columns