debian-mirror-gitlab/spec/controllers/admin/health_check_controller_spec.rb
2020-06-23 00:09:42 +05:30

20 lines
319 B
Ruby

# 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