lib/akephalos/capybara.rb in akephalos2-2.0.4 vs lib/akephalos/capybara.rb in akephalos2-2.0.5

- old
+ new

@@ -249,12 +249,13 @@ # {#reset!} instead. def cleanup! reset! end - # Clear all cookie session data. + # Reset session def reset! cookies.clear + browser.visit('about:blank') end # Confirm or cancel the dialog, returning the text of the dialog def confirm_dialog(confirm = true, &block) browser.confirm_dialog(confirm, &block)