diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-10 18:57:51 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-10 18:57:51 +0800 |
commit | cc3dbf83f4c0cf21fee56398f27851981f0e98f6 (patch) | |
tree | 41dce82288fd3e5a28c8e5803e793d682375719b /spec/features/projects/main | |
parent | 3eae0641ef0708f9b223abbe0070e332ea0b20ac (diff) | |
download | gitlab-ce-cc3dbf83f4c0cf21fee56398f27851981f0e98f6.tar.gz |
Empty lines around blocks
Diffstat (limited to 'spec/features/projects/main')
-rw-r--r-- | spec/features/projects/main/download_buttons_spec.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/spec/features/projects/main/download_buttons_spec.rb b/spec/features/projects/main/download_buttons_spec.rb index 62e56808558..b26c0ea7a14 100644 --- a/spec/features/projects/main/download_buttons_spec.rb +++ b/spec/features/projects/main/download_buttons_spec.rb @@ -5,12 +5,15 @@ feature 'Download buttons in project main page', feature: true do given(:role) { :developer } given(:status) { 'success' } given(:project) { create(:project) } + given(:pipeline) do - create(:ci_pipeline, project: project, - sha: project.commit.sha, - ref: project.default_branch, - status: status) + create(:ci_pipeline, + project: project, + sha: project.commit.sha, + ref: project.default_branch, + status: status) end + given!(:build) do create(:ci_build, :success, :artifacts, pipeline: pipeline, |