Revert "send with **options only when options is not empty"
This reverts commit 5665fb5f6e
.
This adhoc workaround is no longer needed because the root cause has been fixed upstream
This commit is contained in:
parent
4fd6d8d81d
commit
2f141ab09e
|
@ -358,13 +358,9 @@ module ActionDispatch
|
|||
@html_document = nil
|
||||
end
|
||||
|
||||
result = if options.any?
|
||||
integration_session.__send__(method, *args, **options)
|
||||
else
|
||||
integration_session.__send__(method, *args)
|
||||
integration_session.__send__(method, *args, **options).tap do
|
||||
copy_session_variables!
|
||||
end
|
||||
copy_session_variables!
|
||||
result
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue