Sha256: 0a0a3c36dd0cf688678da13472bb48ab75ed39ad65db2a6c2a0f42a5dbb3ebc1
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
module NavigationHelpers def path_to(page_name) 'http://localhost:4567' + case page_name when /the index page/ '/' when /the form page/ '/form' when /the table page/ '/table' when /the upload page/ '/upload' when /the protected page/ '/protected' else raise "Can't find mapping from \"#{page_name}\" to a path.\n" + "Now, go and add a mapping in #{__FILE__}" end end end World(NavigationHelpers)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mechanical-cuke-0.3.1 | features/support/paths.rb |