diff options
author | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2016-02-02 17:39:47 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-19 19:24:59 +0300 |
commit | 6ca99bd899322ff4ada84f119907eb0210485482 (patch) | |
tree | dc52dc84c7f0ef11ef657f9c7cf326785a0ed800 /features/steps | |
parent | c850ceec5d595d3808fa566db3d2e88faa3797cf (diff) |
And CI API endpoint where user can erase a build
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/builds/summary.rb | 4 |
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 |