spec/support/helpers.rb
# Helper to set the route set.
#
# @return [ActionDispatch::Routing::RouteSet]
Helper to set the route set.
Helper to set the route set .
def routes(route_set, path)
    Rails.application.routes.draw do
      mount route_set, at: path
    end
  end
def routes ( route_set , path ) Rails . application . routes . draw do mount route_set , at : path end end
Helper to set the route set.
Helper to set the route set .
None
ActionDispatch::Routing::RouteSet
route_set
<not_specific>
path
<not_specific>