Sha256: 30a90100dc3c1807c4bb9152307c1c7568cebd21b8e982b62982987897ba0c92

Contents?: true

Size: 279 Bytes

Versions: 296

Compression:

Stored size: 279 Bytes

Contents

module NavigationHelpers
  
  def path_to(page_name)
    case page_name
    when /^"(.*)"$/
      $1

    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

296 entries across 142 versions & 1 rubygems

Version Path
spreewald-4.6.3 tests/shared/features/support/paths.rb
spreewald-4.6.2 tests/shared/features/support/paths.rb
spreewald-4.6.1 tests/shared/features/support/paths.rb
spreewald-4.6.0 tests/shared/features/support/paths.rb
spreewald-4.5.1 tests/shared/features/support/paths.rb
spreewald-4.5.0 tests/shared/features/support/paths.rb
spreewald-4.4.4 tests/shared/features/support/paths.rb
spreewald-4.4.3 tests/shared/features/support/paths.rb
spreewald-4.4.2 tests/shared/features/support/paths.rb
spreewald-4.4.1 tests/shared/features/support/paths.rb
spreewald-4.4.0 tests/shared/features/support/paths.rb
spreewald-4.3.6 tests/shared/features/support/paths.rb
spreewald-4.3.5 tests/shared/features/support/paths.rb
spreewald-4.3.4 tests/shared/features/support/paths.rb
spreewald-4.3.3 tests/shared/features/support/paths.rb
spreewald-4.3.2 tests/shared/features/support/paths.rb
spreewald-4.2.3 tests/shared/features/support/paths.rb
spreewald-4.2.2 tests/shared/features/support/paths.rb
spreewald-4.1.2 tests/shared/features/support/paths.rb
spreewald-4.1.1 tests/shared/features/support/paths.rb