Add ping/pong health check
This commit is contained in:
9
spec/routing/ping_routing_spec.rb
Normal file
9
spec/routing/ping_routing_spec.rb
Normal file
@ -0,0 +1,9 @@
|
||||
# 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
|
Reference in New Issue
Block a user