summaryrefslogtreecommitdiff
path: root/spec/factories/ci
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2017-03-23 14:37:49 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2017-03-23 16:10:06 +0100
commit3878a774f17b8404af9f516c20554ba742adbec4 (patch)
tree52b02d28db56aca9fcbdab355ddd125bccaeea18 /spec/factories/ci
parent22682f6e158fb4e034e0fa3486771e119e43661e (diff)
downloadgitlab-ce-3878a774f17b8404af9f516c20554ba742adbec4.tar.gz
Fix after_script processing for Runners APIv4
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/builds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index 6b0d084614b..f78086211f7 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -172,7 +172,7 @@ FactoryGirl.define do
{
image: 'ruby:2.1',
services: ['postgres'],
- after_script: "ls\ndate",
+ after_script: %w(ls date),
artifacts: {
name: 'artifacts_file',
untracked: false,