summaryrefslogtreecommitdiff
path: root/app/services/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-12 10:23:31 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-12 10:23:31 +0200
commitac50f9dddfb4555a2c356454c1cbfc1cc0b37d6d (patch)
tree39bbb7104ddbfc489fd224ccc8b9731b73f57708 /app/services/ci
parent52be9e20f9e2382f01a778d7b348283e7dd757e6 (diff)
downloadgitlab-ce-ac50f9dddfb4555a2c356454c1cbfc1cc0b37d6d.tar.gz
Fix rest of rspec and spinach tests
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/create_builds_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_builds_service.rb b/app/services/ci/create_builds_service.rb
index bbc8251a2da..18274ce24e2 100644
--- a/app/services/ci/create_builds_service.rb
+++ b/app/services/ci/create_builds_service.rb
@@ -22,7 +22,7 @@ module Ci
builds_attrs.map do |build_attrs|
# don't create the same build twice
unless @commit.builds.find_by(ref: @commit.ref, tag: @commit.tag,
- trigger_request: trigger_request, name: build_attrs[:name])
+ trigger_request: trigger_request, name: build_attrs[:name])
build_attrs.slice!(:name,
:commands,
:tag_list,