diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-30 19:07:13 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-30 19:07:18 +0300 |
commit | 5a0e41a58a1a5de4a755abd6709792d5c10f6205 (patch) | |
tree | 19df5e5c1ee94ca98eb1f4125ea1e6e45c4cb77e /spec/features/merge_requests | |
parent | 2fbbf45ea646958cba488830c3321c48d38ecece (diff) |
add accept_confirm when attempting to stop an environment in widget_deployments_spec.rb
Diffstat (limited to 'spec/features/merge_requests')
-rw-r--r-- | spec/features/merge_requests/widget_deployments_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_requests/widget_deployments_spec.rb b/spec/features/merge_requests/widget_deployments_spec.rb index 5658c2c5122..72a52c979b3 100644 --- a/spec/features/merge_requests/widget_deployments_spec.rb +++ b/spec/features/merge_requests/widget_deployments_spec.rb @@ -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 |