require 'rails_helper'

RSpec.describe <%= @controller.controller %>, regressor: true do
  # === Routes (REST) ===
  <%= @controller.rest_routes %>
  # === Callbacks (Before) ===
  <%= @controller.before_callbacks %>
  # === Callbacks (After) ===
  <%= @controller.after_callbacks %>
  # === Callbacks (Around) ===
  <%= @controller.around_callbacks %>
end
require 'rails_helper'

RSpec.describe <%= @controller.controller %>, regressor: true, type: :routing do
  # === Routes (REST) ===
  <%= @controller.rest_routes %>
  # === Callbacks (Before) ===
  <%= @controller.before_callbacks %>
  # === Callbacks (After) ===
  <%= @controller.after_callbacks %>
  # === Callbacks (Around) ===
  <%= @controller.around_callbacks %>
end
Add type: :routing to controller specs template
Add type: :routing to controller specs template
