gitlab-org--gitlab-foss/spec/controllers/admin/health_check_controller_spec.rb

18 lines
282 B
Ruby
Raw Normal View History

2017-05-17 12:17:15 -04:00
require 'spec_helper'
describe Admin::HealthCheckController do
2017-05-17 12:17:15 -04:00
let(:admin) { create(:admin) }
before do
sign_in(admin)
end
describe 'GET show' do
it 'loads the health information' do
2017-05-17 12:17:15 -04:00
get :show
expect(assigns[:errors]).not_to be_nil
2017-05-17 12:17:15 -04:00
end
end
end