system_check_spec.rb 284 B

123456789101112131415
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe Admin::SystemCheck do
  4. let(:user) { Fabricate(:user) }
  5. describe 'perform' do
  6. let(:result) { described_class.perform(user) }
  7. it 'runs all the checks' do
  8. expect(result).to be_an(Array)
  9. end
  10. end
  11. end