module RSpec::Rails::Matchers::RoutingMatchers
def route_to(*expected)
- See: https://api.rubyonrails.org/classes/ActionDispatch/Assertions/RoutingAssertions.html#method-i-assert_recognizes -
def route_to(*expected) RouteToMatcher.new(self, *expected) end