2020-02-11 03:13:12 +09:00
|
|
|
require 'rails_helper'
|
|
|
|
|
2021-04-05 21:59:05 +09:00
|
|
|
describe HealthController do
|
2020-02-11 03:13:12 +09:00
|
|
|
render_views
|
|
|
|
|
|
|
|
describe 'GET #show' do
|
2021-04-05 21:59:05 +09:00
|
|
|
subject(:response) { get :show, params: { format: :json } }
|
2020-02-11 03:13:12 +09:00
|
|
|
|
|
|
|
it 'returns the right response' do
|
|
|
|
expect(response).to have_http_status 200
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|