module ControllerRoutes
  extend ActiveSupport::Concern

  included do
    routes { Spina::Engine.routes }
  end
end

RSpec.configure do |c|
  c.include ControllerRoutes, type: :controller
end

Add routes to support so it loads them automatically for controller tests
Add routes to support so it loads them automatically for controller tests
