module RSpec::Rails::RoutingExampleGroup
def method_missing(m, *args, &block)
def method_missing(m, *args, &block) routes.url_helpers.respond_to?(m) ? routes.url_helpers.send(m, *args) : super end
def routes=(routes)
- Api: - private
def routes=(routes) @routes = routes assertion_instance.instance_variable_set(:@routes, routes) end