diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-05-26 01:46:54 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-05-31 14:33:03 +0200 |
commit | ecdbde3d95b7abf11bae47d3a3b05693d84c27cc (patch) | |
tree | 9479c4fa10515ac2a762b334aa89269925216c4c /spec/lib/system_check_spec.rb | |
parent | 27e632758feed94d8b3ff065b7c8928a854cecc5 (diff) | |
download | gitlab-ce-ecdbde3d95b7abf11bae47d3a3b05693d84c27cc.tar.gz |
Improve Specs and some fixes
Diffstat (limited to 'spec/lib/system_check_spec.rb')
-rw-r--r-- | spec/lib/system_check_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/system_check_spec.rb b/spec/lib/system_check_spec.rb index 399a492ea2e..d2087ad2d83 100644 --- a/spec/lib/system_check_spec.rb +++ b/spec/lib/system_check_spec.rb @@ -1,8 +1,13 @@ require 'spec_helper' +require 'rake_helper' describe SystemCheck, lib: true do subject { SystemCheck } + before do + silence_output + end + describe '.run' do it 'requires custom executor to be a BasicExecutor' do expect { subject.run('Component', [], SystemCheck::SimpleExecutor) }.not_to raise_error |