Method: RSpec::Rails::ControllerExampleGroup#method_missing

Defined in:
lib/rspec/rails/example/controller_example_group.rb

#method_missing(method, *args, &block) ⇒ Object

If method is a named_route, delegates to the RouteSet associated with this controller.



172
173
174
175
176
177
178
# File 'lib/rspec/rails/example/controller_example_group.rb', line 172

def method_missing(method, *args, &block)
  if route_available?(method)
    controller.send(method, *args, &block)
  else
    super
  end
end