Add ping/pong health check

This commit is contained in:
Sebastian Serth
2021-10-09 23:28:31 +02:00
parent 6a255ced5b
commit bb4b4ece92
4 changed files with 46 additions and 0 deletions

View 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