summaryrefslogtreecommitdiff
path: root/spec/controllers/admin/health_check_controller_spec.rb
blob: e13401fc06b44823307cbd6e2c343c544bfd6321 (plain)
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