Permalink
Browse files

Adjust test for unsorted Array#to_query. References #7756.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent d97456d commit 8e0114385406b047c4b8b06c533237bf0bc83a97 @jeremy jeremy committed Mar 11, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/controller/url_rewriter_test.rb
@@ -193,8 +193,8 @@ def test_hash_recursive_and_array_parameters
params = extract_params(url)
assert_equal params[0], { 'query[hobby]' => 'piercing' }.to_query
assert_equal params[1], { 'query[person][name]' => 'Bob' }.to_query
- assert_equal params[2], { 'query[person][position][]' => 'art director' }.to_query
- assert_equal params[3], { 'query[person][position][]' => 'prof' }.to_query
+ assert_equal params[2], { 'query[person][position][]' => 'prof' }.to_query
+ assert_equal params[3], { 'query[person][position][]' => 'art director' }.to_query
end
private

0 comments on commit 8e01143

Please sign in to comment.