lib/capybara/spec/session/dismiss_prompt_spec.rb in capybara-2.18.0 vs lib/capybara/spec/session/dismiss_prompt_spec.rb in capybara-3.0.0.rc1
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+
Capybara::SpecHelper.spec '#dismiss_prompt', requires: [:modals] do
before do
@session.visit('/with_js')
end