about summary refs log tree commit diff
path: root/spec/lib/admin/system_check_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/admin/system_check_spec.rb')
-rw-r--r--spec/lib/admin/system_check_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/lib/admin/system_check_spec.rb b/spec/lib/admin/system_check_spec.rb
new file mode 100644
index 000000000..30048fd3a
--- /dev/null
+++ b/spec/lib/admin/system_check_spec.rb
@@ -0,0 +1,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