2019-04-15 06:17:05 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-05-17 12:17:15 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-03 23:08:05 -04:00
|
|
|
RSpec.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
|