summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-12 09:21:47 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-13 11:39:36 +0200
commit69f7a12f0372a13357bf53d00125c72e06755dd6 (patch)
tree9d5d634b76153c2efae6d96febc436f4b3aa6a34
parenteeeea489fba033274dec2087798e2480d2139ab4 (diff)
downloadgitlab-ce-69f7a12f0372a13357bf53d00125c72e06755dd6.tar.gz
Fix extra space in YAML array
-rw-r--r--spec/helpers/auto_devops_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/auto_devops_helper_spec.rb b/spec/helpers/auto_devops_helper_spec.rb
index 881538bc1c6..5e272af6073 100644
--- a/spec/helpers/auto_devops_helper_spec.rb
+++ b/spec/helpers/auto_devops_helper_spec.rb
@@ -68,7 +68,7 @@ describe AutoDevopsHelper do
context 'when master contains a .gitlab-ci.yml file' do
before do
- allow(project.repository).to receive(:gitlab_ci_yml).and_return("script: [ 'test']")
+ allow(project.repository).to receive(:gitlab_ci_yml).and_return("script: ['test']")
end
it { is_expected.to eq(false) }