From 9a4287dfd75d9d52009ba7542dae7dfb51ca9ddc Mon Sep 17 00:00:00 2001 From: Daniel Cunha Date: Thu, 13 Dec 2012 01:39:20 -0300 Subject: [PATCH] language_redirection.feature --- features/language_redirection.feature | 4 ++-- features/support/paths.rb | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/features/language_redirection.feature b/features/language_redirection.feature index a8ca61e..ab37ebb 100644 --- a/features/language_redirection.feature +++ b/features/language_redirection.feature @@ -26,9 +26,9 @@ Feature: language redirection # Testing the web UI Given I am logged in as "manuel" And my browser prefers English - And I go to manuel's profile editor + And I go to /myprofile/manuel/profile_editor/edit And I check "Automaticaly redirect the visitor to the article translated to his/her language" - And I press "save" + And I press "Save" When I go to /manuel/meu-artigo Then the site should be in English diff --git a/features/support/paths.rb b/features/support/paths.rb index 309b918..9ad217a 100644 --- a/features/support/paths.rb +++ b/features/support/paths.rb @@ -57,9 +57,6 @@ module NavigationHelpers when /^(.*)'s leave page/ '/profile/%s/leave' % Profile.find_by_name($1).identifier - when /^(.*)'s profile editor$/ - "myprofile/manuel/profile_editor/edit" - when /^login page$/ '/account/login' -- libgit2 0.21.2