# frozen_string_literal: true require 'rails_helper' RSpec.describe PingController do context 'with routes to #show' do it { expect(get: '/ping').to route_to('ping#index', format: :json) } end end