method

method_missing

rails latest stable - Class: ActionView::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

method_missing(selector, *args)
private

No documentation available.

# File actionpack/lib/action_view/test_case.rb, line 155
      def method_missing(selector, *args)
        if ActionController::Routing::Routes.named_routes.helpers.include?(selector)
          @controller.__send__(selector, *args)
        else
          super
        end
      end