Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/ci/group_spec.rb')
-rw-r--r--spec/models/ci/group_spec.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/spec/models/ci/group_spec.rb b/spec/models/ci/group_spec.rb
index 4900bc792af..82e4f7ce8fc 100644
--- a/spec/models/ci/group_spec.rb
+++ b/spec/models/ci/group_spec.rb
@@ -111,11 +111,13 @@ RSpec.describe Ci::Group do
end
def create_build(type, status: 'success', **opts)
- create(type, pipeline: pipeline,
- stage: stage.name,
- status: status,
- stage_id: stage.id,
- **opts)
+ create(
+ type, pipeline: pipeline,
+ stage: stage.name,
+ status: status,
+ stage_id: stage.id,
+ **opts
+ )
end
end
end