Before:
require 'rails_helper'
describe UsersController do
describe 'routing' do
it 'routes to #index' do
expect(get('/users')).to route_to('users#index')
end
Now:
require "rails_helper"
RSpec.describe BoilerplatesController, type: :routing do
describe "routing" do
it "routes to #index" do
expect(:get => "/boilerplates").to route_to("boilerplates#index")
end