Module: NavigationHelpers
- Defined in:
- lib/messiah/templates/cucumber/features/support/paths.rb
Instance Method Summary collapse
-
#path_to(page_name) ⇒ Object
Maps a name to a path.
Instance Method Details
#path_to(page_name) ⇒ Object
Maps a name to a path. Used by the
When /^I go to (.+)$/ do |page_name|
step definition in web_steps.rb
8 9 10 |
# File 'lib/messiah/templates/cucumber/features/support/paths.rb', line 8 def path_to(page_name) "/#{page_name}" end |