diff options
author | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2016-02-02 13:57:14 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-19 17:24:59 +0100 |
commit | c850ceec5d595d3808fa566db3d2e88faa3797cf (patch) | |
tree | 177b6b1689722f87b6ac65a7aceb221f14466e34 /features | |
parent | 433de7baca62060cec1adda7183ede1acdd03da7 (diff) | |
download | gitlab-ce-c850ceec5d595d3808fa566db3d2e88faa3797cf.tar.gz |
Create method that checks if build has been erased
+ minor improvements
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/builds/summary.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/builds/summary.rb b/features/steps/project/builds/summary.rb index 1bcff659181..fd20a317850 100644 --- a/features/steps/project/builds/summary.rb +++ b/features/steps/project/builds/summary.rb @@ -18,7 +18,7 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps step 'recent build has been erased' do expect(@build.artifacts_file.exists?).to be_falsy expect(@build.artifacts_metadata.exists?).to be_falsy - expect(File.zero?(@build.path_to_trace)).to be true + expect(@build.trace).to be_empty end step 'recent build summary does not have artifacts widget' do |