mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
undef method if already defined.
This commit is contained in:
parent
dda3431942
commit
7129dd95d0
1 changed files with 1 additions and 0 deletions
|
@ -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>"
|
||||
|
|
Loading…
Reference in a new issue