Commit 512bd54222b156d7ba98c37bb7b93a1abcc50fa0

Authored by Rodrigo Souto
1 parent 5f156c9e

features-paths: add profile path

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
features/support/paths.rb
... ... @@ -20,6 +20,9 @@ module NavigationHelpers
20 20 when /^\//
21 21 page_name
22 22  
  23 + when /^(.*)'s profile/
  24 + '/profile/' + profile_identifier($1)
  25 +
23 26 when /article "([^"]+)"\s*$/
24 27 url_for(Article.find_by_name($1).url.merge({:only_path => true}))
25 28  
... ...