Sha256: 5fec5005dcf424f1c0ead397e7a271df53c8f93084039fd23e3b6baf7d6e8f01
Contents?: true
Size: 637 Bytes
Versions: 10
Compression:
Stored size: 637 Bytes
Contents
When /^I navigate to the Controls screen$/ do navigate_to(ControlsScreen) end When /^I continue navigating to the Controls screen$/ do continue_navigation_to(ControlsScreen) end When /^I navigate to the Buttons screen using the "(.*?)" route$/ do |route| navigate_to(ButtonScreen, :using => route.to_sym) end Given /^I am on the the ViewsMenuScreen$/ do navigate_to(ViewsMenuScreen) end When(/^I wait for the "(.*?)" screen$/) do |which| begin on(which.to_class) rescue Exception => e @last_error = e end end Then(/^the last error should tell me "(.*?)"$/) do |what| @last_error.message.should eq(what) end
Version data entries
10 entries across 10 versions & 1 rubygems