Merge pull request #2402 from 21echoes/cuke_path_fix
minor error in features/paths.rb regarding the recent split of posts and photos
This commit is contained in:
commit
52aaf33296
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ module NavigationHelpers
|
||||||
when /^the photo page for "([^\"]*)"'s latest post$/
|
when /^the photo page for "([^\"]*)"'s latest post$/
|
||||||
photo_path(User.find_by_email($1).photos.last)
|
photo_path(User.find_by_email($1).photos.last)
|
||||||
when /^the photo page for "([^\"]*)"'s post "([^\"]*)"$/
|
when /^the photo page for "([^\"]*)"'s post "([^\"]*)"$/
|
||||||
photo_path(User.find_by_email($1).posts.find_by_text($2))
|
post_path(User.find_by_email($1).posts.find_by_text($2))
|
||||||
when /^"(\/.*)"/
|
when /^"(\/.*)"/
|
||||||
$1
|
$1
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue