Commit 5a0e41a5 authored by Mike Greiling's avatar Mike Greiling

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

parent 2fbbf45e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment