aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-11-13 11:38:36 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-11-13 16:35:15 -0800
commit95ec44858023d7263a2227effc064d5b8a22b772 (patch)
treeeb8bccc925040a63174e91fe73c3d9237060e578 /actionpack/test
parentbf3546549b5b355d4d03626a043cb110f628dd5b (diff)
downloadrails-95ec44858023d7263a2227effc064d5b8a22b772.tar.gz
rails-95ec44858023d7263a2227effc064d5b8a22b772.tar.bz2
rails-95ec44858023d7263a2227effc064d5b8a22b772.zip
start using options object
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/params_wrapper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/params_wrapper_test.rb b/actionpack/test/controller/params_wrapper_test.rb
index 209f021cf7..d87e2b85b0 100644
--- a/actionpack/test/controller/params_wrapper_test.rb
+++ b/actionpack/test/controller/params_wrapper_test.rb
@@ -4,7 +4,7 @@ module Admin; class User; end; end
module ParamsWrapperTestHelp
def with_default_wrapper_options(&block)
- @controller.class._wrapper_options = {:format => [:json]}
+ @controller.class._set_wrapper_options({:format => [:json]})
@controller.class.inherited(@controller.class)
yield
end