about summary refs log tree commit diff
path: root/spec/lib/admin/system_check_spec.rb
blob: 30048fd3ade0e01870eb3f6fa578707e40bd7671 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'rails_helper'

describe Admin::SystemCheck do
  let(:user) { Fabricate(:user) }

  describe 'perform' do
    let(:result) { described_class.perform(user) }

    it 'runs all the checks' do
      expect(result).to be_an(Array)
    end
  end
end