diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-25 16:23:47 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-25 16:23:47 +0300 |
commit | 31be74c74b72a1cd33e1630f9462ab5c43f2e319 (patch) | |
tree | 2a592db0bb0a39f98b9745043c37926fe511118e /spec | |
parent | 3234741576ef8b0ad02dd4fcfbd294c41430f8d7 (diff) |
Return struct instead of multiple values
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/ci/register_build_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/ci/register_build_service_spec.rb b/spec/services/ci/register_build_service_spec.rb index 635ddf70c8d..d9f774a1095 100644 --- a/spec/services/ci/register_build_service_spec.rb +++ b/spec/services/ci/register_build_service_spec.rb @@ -171,7 +171,7 @@ module Ci end def execute(runner) - described_class.new(runner).execute.first + described_class.new(runner).execute.build end end end |