Add test for health_check endpoint
parent
7f034cf429
commit
7e23ce3cfc
|
@ -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
|
Loading…
Reference in New Issue