From bd7c52c734bd25b4b2549baf35b2957b45c7a972 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Mon, 1 Feb 2016 14:30:05 +0100 Subject: Add feature specs for build erase button --- features/steps/shared/builds.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'features/steps/shared') 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' -- cgit v1.2.1