Commit 9a4287dfd75d9d52009ba7542dae7dfb51ca9ddc
1 parent
50918e28
Exists in
master
and in
28 other branches
language_redirection.feature
Showing
2 changed files
with
2 additions
and
5 deletions
Show diff stats
features/language_redirection.feature
@@ -26,9 +26,9 @@ Feature: language redirection | @@ -26,9 +26,9 @@ Feature: language redirection | ||
26 | # Testing the web UI | 26 | # Testing the web UI |
27 | Given I am logged in as "manuel" | 27 | Given I am logged in as "manuel" |
28 | And my browser prefers English | 28 | And my browser prefers English |
29 | - And I go to manuel's profile editor | 29 | + And I go to /myprofile/manuel/profile_editor/edit |
30 | And I check "Automaticaly redirect the visitor to the article translated to his/her language" | 30 | And I check "Automaticaly redirect the visitor to the article translated to his/her language" |
31 | - And I press "save" | 31 | + And I press "Save" |
32 | When I go to /manuel/meu-artigo | 32 | When I go to /manuel/meu-artigo |
33 | Then the site should be in English | 33 | Then the site should be in English |
34 | 34 |
features/support/paths.rb
@@ -57,9 +57,6 @@ module NavigationHelpers | @@ -57,9 +57,6 @@ module NavigationHelpers | ||
57 | when /^(.*)'s leave page/ | 57 | when /^(.*)'s leave page/ |
58 | '/profile/%s/leave' % Profile.find_by_name($1).identifier | 58 | '/profile/%s/leave' % Profile.find_by_name($1).identifier |
59 | 59 | ||
60 | - when /^(.*)'s profile editor$/ | ||
61 | - "myprofile/manuel/profile_editor/edit" | ||
62 | - | ||
63 | when /^login page$/ | 60 | when /^login page$/ |
64 | '/account/login' | 61 | '/account/login' |
65 | 62 |