diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-15 13:41:46 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-15 13:41:46 +0100 |
commit | 70c0a76cad4c7ce5656c97ac81b4caa21318e961 (patch) | |
tree | f40697d9ecb70507ebcbf73e4890535c6a419e72 /spec | |
parent | 01c8499a791a9179a0ae875ad26a1fa125e7fe4c (diff) | |
download | gitlab-ce-70c0a76cad4c7ce5656c97ac81b4caa21318e961.tar.gz |
Fix rubocop offenses in code related to pipelines
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/pipelines/pipelines_spec.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb index f9854bb3fad..c8554c1a975 100644 --- a/spec/features/projects/pipelines/pipelines_spec.rb +++ b/spec/features/projects/pipelines/pipelines_spec.rb @@ -271,12 +271,9 @@ describe "Pipelines", feature: true, js: true do context 'with gitlab-ci.yml' do before { stub_ci_pipeline_to_return_yaml_file } - it do - expect{ - click_on 'Create pipeline' - }.to change{ - Ci::Pipeline.count - }.by(1) + it 'creates a new pipeline' do + expect { click_on 'Create pipeline' } + .to change { Ci::Pipeline.count }.by(1) end end |