mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
15 lines
284 B
Ruby
15 lines
284 B
Ruby
# 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
|