module NavigationHelpers # Extend the standard PathMatchers with your own paths # to be used in your features. # # The keys and values here may be used in your standard web steps # Using: # # When I go to the "snippets" admin page # # would direct the request to the path you provide in the value: # # admin_snippets_path # PathMatchers = {} unless defined?(PathMatchers) PathMatchers.merge!({ /export/i => 'export_path' }) end World(NavigationHelpers)