summaryrefslogtreecommitdiff
path: root/features/steps/shared
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2016-02-01 14:30:05 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-19 17:24:59 +0100
commitbd7c52c734bd25b4b2549baf35b2957b45c7a972 (patch)
tree5405e8141f6d83c1d3d21c7ed0d85eddc7b52218 /features/steps/shared
parentf3e92fb4d04f69deddcf1daf3dde8a79cf942bd5 (diff)
downloadgitlab-ce-bd7c52c734bd25b4b2549baf35b2957b45c7a972.tar.gz
Add feature specs for build erase button
Diffstat (limited to 'features/steps/shared')
-rw-r--r--features/steps/shared/builds.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/shared/builds.rb b/features/steps/shared/builds.rb
index fa54c93df0f..0bd5d93b997 100644
--- a/features/steps/shared/builds.rb
+++ b/features/steps/shared/builds.rb
@@ -42,6 +42,10 @@ module SharedBuilds
@build.update_attributes(artifacts_metadata: gzip)
end
+ step 'recent build has a build trace' do
+ @build.trace = 'build trace'
+ end
+
step 'download of build artifacts archive starts' do
expect(page.response_headers['Content-Type']).to eq 'application/zip'
expect(page.response_headers['Content-Transfer-Encoding']).to eq 'binary'