diff options
author | Robert Speicher <robert@gitlab.com> | 2017-08-09 16:02:04 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-08-09 16:02:04 +0000 |
commit | a0fa59f61e28837265f30cd35f265d9311df3f7a (patch) | |
tree | 9dd0340b0cbe134b2e1ee3c1fa21690a5a9dd15f /spec/tasks | |
parent | 8fbbd3f27a5f69cfc9f4ddd05e46498c9e5ccf60 (diff) | |
parent | 04c328f923afdc4143b875b888235e563b540d90 (diff) | |
download | gitlab-ce-a0fa59f61e28837265f30cd35f265d9311df3f7a.tar.gz |
Merge branch 'rc/enable-the-Layout/SpaceBeforeBlockBraces-cop' into 'master'
Enable the Layout/SpaceBeforeBlockBraces cop
See merge request !13413
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/config_lint_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/tasks/config_lint_spec.rb b/spec/tasks/config_lint_spec.rb index ed6c5b09663..5b01665019a 100644 --- a/spec/tasks/config_lint_spec.rb +++ b/spec/tasks/config_lint_spec.rb @@ -2,14 +2,14 @@ require 'rake_helper' Rake.application.rake_require 'tasks/config_lint' describe ConfigLint do - let(:files){ ['lib/support/fake.sh'] } + let(:files) { ['lib/support/fake.sh'] } it 'errors out if any bash scripts have errors' do - expect { described_class.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 { described_class.run(files){ system('exit 0') } }.not_to raise_error + expect { described_class.run(files) { system('exit 0') } }.not_to raise_error end end |