Class: Test::Unit::TestCase

Inherits:
Object show all
Defined in:
lib/action_controller/test_process.rb

Overview

:nodoc:

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(selector, *args) ⇒ Object (private)



375
376
377
378
# File 'lib/action_controller/test_process.rb', line 375

def method_missing(selector, *args)
  return @controller.send(selector, *args) if ActionController::Routing::NamedRoutes::Helpers.include?(selector)
  return super
end