Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2018-08-15 02:39:59 +0300
committerGabriel Mazetto <brodock@gmail.com>2018-08-16 22:31:19 +0300
commit696a5fce687364ec718eeef44d923a686c9e1624 (patch)
tree040b44779ce36d21df32adc13d909942ed15ec37 /spec/lib/system_check
parent010fbedb61334a303d26164de905d9d421871ff2 (diff)
Refactor Rainbow usage in specs
We don't test any specific string generated by it yet, so there is no point in keeping it enabled when we are disabling it everywhere we test its output.
Diffstat (limited to 'spec/lib/system_check')
-rw-r--r--spec/lib/system_check/simple_executor_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/lib/system_check/simple_executor_spec.rb b/spec/lib/system_check/simple_executor_spec.rb
index 9da3648400e..e71e9da369d 100644
--- a/spec/lib/system_check/simple_executor_spec.rb
+++ b/spec/lib/system_check/simple_executor_spec.rb
@@ -98,15 +98,6 @@ describe SystemCheck::SimpleExecutor do
end
end
- before do
- @rainbow = Rainbow.enabled
- Rainbow.enabled = false
- end
-
- after do
- Rainbow.enabled = @rainbow
- end
-
describe '#component' do
it 'returns stored component name' do
expect(subject.component).to eq('Test')