summaryrefslogtreecommitdiff
path: root/spec/controllers/admin/health_check_controller_spec.rb
blob: 06aace429e36240efbb8bd9ed98aa61046492203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require 'spec_helper'

RSpec.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