summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
Diffstat (limited to 'features')
-rw-r--r--features/project/builds/summary.feature1
-rw-r--r--features/steps/project/builds/summary.rb4
2 files changed, 5 insertions, 0 deletions
diff --git a/features/project/builds/summary.feature b/features/project/builds/summary.feature
index b4fb537f3d8..6addc56da77 100644
--- a/features/project/builds/summary.feature
+++ b/features/project/builds/summary.feature
@@ -20,3 +20,4 @@ Feature: Project Builds Summary
And I click erase build button
Then recent build has been erased
And recent build summary does not have artifacts widget
+ And recent build summary contains information saying that build has been erased
diff --git a/features/steps/project/builds/summary.rb b/features/steps/project/builds/summary.rb
index 70de61101b8..1bcff659181 100644
--- a/features/steps/project/builds/summary.rb
+++ b/features/steps/project/builds/summary.rb
@@ -24,4 +24,8 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps
step 'recent build summary does not have artifacts widget' do
expect(page).to have_no_css('.artifacts')
end
+
+ step 'recent build summary contains information saying that build has been erased' do
+ expect(page).to have_css('.erased')
+ end
end