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:
authorDouwe Maan <douwe@gitlab.com>2017-05-03 01:30:30 +0300
committerDouwe Maan <douwe@gitlab.com>2017-05-03 01:30:30 +0300
commit2a73f0a638d4268dd367346dd602910f777742f4 (patch)
treef73ca298187d04074b98b6e3c02c2e8a7c23d671 /spec/tasks
parent920d55b9f8afd35e16351fb57d671acf66092e89 (diff)
parentd49768296ce596bbbbdf8412c362d9999ce822a4 (diff)
Merge branch 'rs-described_class-cop-2' into 'master'
Enable `RSpec/DescribedClass` cop and correct violations See merge request !10930
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/config_lint_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/tasks/config_lint_spec.rb b/spec/tasks/config_lint_spec.rb
index c32f9a740b7..ed6c5b09663 100644
--- a/spec/tasks/config_lint_spec.rb
+++ b/spec/tasks/config_lint_spec.rb
@@ -5,11 +5,11 @@ describe ConfigLint do
let(:files){ ['lib/support/fake.sh'] }
it 'errors out if any bash scripts have errors' do
- expect { ConfigLint.run(files){ system('exit 1') } }.to raise_error(SystemExit)
+ expect { described_class.run(files){ system('exit 1') } }.to raise_error(SystemExit)
end
it 'passes if all scripts are fine' do
- expect { ConfigLint.run(files){ system('exit 0') } }.not_to raise_error
+ expect { described_class.run(files){ system('exit 0') } }.not_to raise_error
end
end