add accept_confirm when attempting to stop an environment in widget_deployments_spec.rb

This commit is contained in:
Mike Greiling 2017-10-30 11:07:13 -05:00
parent 2fbbf45ea6
commit 5a0e41a58a
No known key found for this signature in database
GPG Key ID: 0303DF507FA67596
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ feature 'Widget Deployments Header', :js do
end
scenario 'does start build when stop button clicked' do
click_button('Stop environment')
accept_confirm { click_button('Stop environment') }
expect(page).to have_content('close_app')
end