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