Method: ActionDispatch::Integration::Runner#method_missing
- Defined in:
- lib/action_dispatch/testing/integration.rb
#method_missing(sym, *args, &block) ⇒ Object
Delegate unhandled messages to the current session instance.
379 380 381 382 383 384 385 386 387 388 |
# File 'lib/action_dispatch/testing/integration.rb', line 379 def method_missing(sym, *args, &block) reset! unless integration_session if integration_session.respond_to?(sym) integration_session.__send__(sym, *args, &block).tap do copy_session_variables! end else super end end |