1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2025-01-23 22:16:57 +00:00
mastodon/spec/controllers/health_check_controller_spec.rb

14 lines
283 B
Ruby
Raw Normal View History

2020-02-10 19:13:12 +01:00
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