features/step_definitions/navigation_steps.rb in gametel-0.5.4 vs features/step_definitions/navigation_steps.rb in gametel-0.5.5
- old
+ new
@@ -1,12 +1,15 @@
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
- on(MainMenuScreen).views
- on(ViewsMenuScreen)
+ navigate_to(ViewsMenuScreen)
end