You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/lib/admin/system_check_spec.rb

16 lines
290 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
RSpec.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