diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 16:08:00 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 16:08:00 -0300 |
commit | 7129dd95d0a5edbbb686ed6b827de64c745ec5ef (patch) | |
tree | 0ca6e124aaa344e534a1db892691da6a5727ff8a /actionpack | |
parent | dda3431942973a09d81176660350d9516dbabf68 (diff) | |
download | rails-7129dd95d0a5edbbb686ed6b827de64c745ec5ef.tar.gz rails-7129dd95d0a5edbbb686ed6b827de64c745ec5ef.tar.bz2 rails-7129dd95d0a5edbbb686ed6b827de64c745ec5ef.zip |
undef method if already defined.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/request/xml_params_parsing_test.rb | 1 |
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>" |