features/step_definitions/control/button_steps.rb in briar-0.0.8 vs features/step_definitions/control/button_steps.rb in briar-0.0.9

- old
+ new

@@ -1,6 +1,6 @@ -When /^I touch (?:the|a) "([^"]*)" button, then I should see the "([^"]*)" view$/ do |button_id, view_id| +When /^I touch (?:the|a) "([^"]*)" button, (?:then I|I) should see (?:the|a) "([^"]*)" view$/ do |button_id, view_id| touch_button_and_wait_for_view button_id, view_id end Then /^I touch (?:the|a) "([^"]*)" button and wait for (?:the|a) "([^"]*)" view$/ do |button_id, view_id| touch_button_and_wait_for_view button_id, view_id