aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-02-09 02:47:19 -0800
committerXavier Noria <fxn@hashref.com>2012-02-09 02:47:19 -0800
commita8e9f2910fc1a95c202f5446b1e6f82bcec061e8 (patch)
tree49de5eea9991a81ac738ab64b2115402142a1db7 /actionpack
parent6f099af5f9ce559ed1b0d4ed0f33a0e4b4f5ec3e (diff)
parentb3145241288dfec3d819db6c069537516ff36470 (diff)
downloadrails-a8e9f2910fc1a95c202f5446b1e6f82bcec061e8.tar.gz
rails-a8e9f2910fc1a95c202f5446b1e6f82bcec061e8.tar.bz2
rails-a8e9f2910fc1a95c202f5446b1e6f82bcec061e8.zip
Merge pull request #4957 from ganeshkumar/order_hash_change
replacing the orderhash with hash for ruby-1.9
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/test_case_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb
index caf76c7e61..c957df88b3 100644
--- a/actionpack/test/controller/test_case_test.rb
+++ b/actionpack/test/controller/test_case_test.rb
@@ -1,6 +1,5 @@
require 'abstract_unit'
require 'controller/fake_controllers'
-require 'active_support/ordered_hash'
class TestCaseTest < ActionController::TestCase
class TestController < ActionController::Base
@@ -155,14 +154,14 @@ XML
end
def test_raw_post_handling
- params = ActiveSupport::OrderedHash[:page, {:name => 'page name'}, 'some key', 123]
+ params = Hash[:page, {:name => 'page name'}, 'some key', 123]
post :render_raw_post, params.dup
assert_equal params.to_query, @response.body
end
def test_body_stream
- params = ActiveSupport::OrderedHash[:page, { :name => 'page name' }, 'some key', 123]
+ params = Hash[:page, { :name => 'page name' }, 'some key', 123]
post :render_body, params.dup