refactor: matches routes in subclasses instead of superclasses in route_flow_spec.rb