Add test for health_check endpoint

main
Thibaut Girka 2020-02-10 19:13:12 +01:00 committed by ThibG
parent 2edf317efc
commit 0cbd6d696b
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
require 'rails_helper'
describe HealthCheck::HealthCheckController do
render_views
describe 'GET #show' do
subject(:response) { get :index, params: { format: :json } }
it 'returns the right response' do
expect(response).to have_http_status 200
end
end
end