aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/request/xml_params_parsing_test.rb
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2010-09-28 16:08:00 -0300
committerEmilio Tagua <miloops@gmail.com>2010-09-28 16:08:00 -0300
commit7129dd95d0a5edbbb686ed6b827de64c745ec5ef (patch)
tree0ca6e124aaa344e534a1db892691da6a5727ff8a /actionpack/test/dispatch/request/xml_params_parsing_test.rb
parentdda3431942973a09d81176660350d9516dbabf68 (diff)
downloadrails-7129dd95d0a5edbbb686ed6b827de64c745ec5ef.tar.gz
rails-7129dd95d0a5edbbb686ed6b827de64c745ec5ef.tar.bz2
rails-7129dd95d0a5edbbb686ed6b827de64c745ec5ef.zip
undef method if already defined.
Diffstat (limited to 'actionpack/test/dispatch/request/xml_params_parsing_test.rb')
-rw-r--r--actionpack/test/dispatch/request/xml_params_parsing_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/request/xml_params_parsing_test.rb b/actionpack/test/dispatch/request/xml_params_parsing_test.rb
index 16669614d6..ad9de02eb4 100644
--- a/actionpack/test/dispatch/request/xml_params_parsing_test.rb
+++ b/actionpack/test/dispatch/request/xml_params_parsing_test.rb
@@ -18,6 +18,7 @@ class XmlParamsParsingTest < ActionDispatch::IntegrationTest
test "parses a strict rack.input" do
class Linted
+ undef call if method_defined?(:call)
def call(env)
bar = env['action_dispatch.request.request_parameters']['foo']
result = "<ok>#{bar}</ok>"