From 98ea732b134ac8b1897532a4948257ffd46aabfc Mon Sep 17 00:00:00 2001 From: Daniel Cunha Date: Mon, 10 Dec 2012 18:09:05 -0300 Subject: [PATCH] contact.feature --- features/contact.feature | 9 ++++----- features/support/paths.rb | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/features/contact.feature b/features/contact.feature index 50fbf5c..7c58842 100644 --- a/features/contact.feature +++ b/features/contact.feature @@ -14,8 +14,8 @@ In order to ask questions and solve problems @selenium Scenario: without states - Given I am on Sample Community's homepage - When I follow "Send an e-mail" and wait + Given I am on sample-community's homepage + When I follow "Send an e-mail" Then I should not see "City and state" @selenium @@ -23,7 +23,6 @@ In order to ask questions and solve problems Given the following states | name | | Bahia | - And I am on Sample Community's homepage - When I follow "Send an e-mail" and wait + And I am on sample-community's homepage + When I follow "Send an e-mail" Then I should see "City and state" - diff --git a/features/support/paths.rb b/features/support/paths.rb index a366858..1056d2c 100644 --- a/features/support/paths.rb +++ b/features/support/paths.rb @@ -37,7 +37,7 @@ module NavigationHelpers "/myprofile/#{$2}/profile_design/edit/#{block.id}" when /^(.*)'s homepage$/ - '/%s' % Profile.find_by_name($1).identifier + '/' + $1 when /^(.*)'s blog$/ '/%s/blog' % Profile.find_by_name($1).identifier -- libgit2 0.21.2