2023-04-07 21:39:34 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'rails_helper'
|
|
|
|
|
2024-09-04 14:12:25 +09:00
|
|
|
RSpec.describe Admin::SystemCheck do
|
2023-04-07 21:39:34 +09:00
|
|
|
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
|