This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/controllers/health_controller_spec.rb

14 lines
264 B
Ruby
Raw Normal View History

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