You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
metu.life/spec/controllers/health_controller_spec.rb

14 lines
264 B

require 'rails_helper'
describe HealthController do
render_views
describe 'GET #show' do
subject(:response) { get :show, params: { format: :json } }
it 'returns the right response' do
expect(response).to have_http_status 200
end
end
end