2017-05-17 12:17:15 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2017-11-13 10:52:07 -05:00
|
|
|
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
|
2018-10-09 01:59:42 -04:00
|
|
|
it 'loads the health information' do
|
2017-05-17 12:17:15 -04:00
|
|
|
get :show
|
|
|
|
|
2018-10-09 01:59:42 -04:00
|
|
|
expect(assigns[:errors]).not_to be_nil
|
2017-05-17 12:17:15 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|