Class: ActionDispatch::IntegrationTest
- Inherits:
-
Object
- Object
- ActionDispatch::IntegrationTest
- Defined in:
- lib/lazy_named_routes_helpers/routing_monkey_patches_rails_3_0.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(selector, *args, &block) ⇒ Object
125 126 127 128 129 130 131 |
# File 'lib/lazy_named_routes_helpers/routing_monkey_patches_rails_3_0.rb', line 125 def method_missing(selector, *args, &block) if @integration_session && @integration_session._routes.named_routes.helper_method?(selector) @integration_session.__send__(selector, *args, &block) else super end end |