summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2016-02-02 15:39:47 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-19 17:24:59 +0100
commit6ca99bd899322ff4ada84f119907eb0210485482 (patch)
treedc52dc84c7f0ef11ef657f9c7cf326785a0ed800 /features
parentc850ceec5d595d3808fa566db3d2e88faa3797cf (diff)
downloadgitlab-ce-6ca99bd899322ff4ada84f119907eb0210485482.tar.gz
And CI API endpoint where user can erase a build
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/builds/summary.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/features/steps/project/builds/summary.rb b/features/steps/project/builds/summary.rb
index fd20a317850..4688a0e2096 100644
--- a/features/steps/project/builds/summary.rb
+++ b/features/steps/project/builds/summary.rb
@@ -26,6 +26,8 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps
end
step 'recent build summary contains information saying that build has been erased' do
- expect(page).to have_css('.erased')
+ page.within('.erased') do
+ expect(page).to have_content 'Build has been erased'
+ end
end
end