Files
codeocean/spec/routing/ping_routing_spec.rb
2021-10-09 23:37:31 +02:00

10 lines
217 B
Ruby

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