1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
require 'spec_helper' describe Admin::HealthCheckController do let(:admin) { create(:admin) } before do sign_in(admin) end describe 'GET show' do it 'loads the health information' do get :show expect(assigns[:errors]).not_to be_nil end end end