Small wording fix

This commit is contained in:
JonahStanley
2013-06-05 15:57:42 -04:00
parent 260659cfc6
commit f652a5d8c4

View File

@@ -162,12 +162,12 @@ def dialogs_are_closed(step):
@step('I confirm all alerts')
def i_confirm_with_ok(step):
def i_confirm_all_alerts(step):
world.browser.execute_script('window.confirm = function(){return true;} ; window.alert = function(){return;}')
@step('I cancel all alerts')
def i_dismiss_with_ok(step):
def i_cancel_all_alerts(step):
world.browser.execute_script('window.confirm = function(){return false;} ; window.alert = function(){return;}')