Commit 98ea732b134ac8b1897532a4948257ffd46aabfc
1 parent
8d278765
Exists in
master
and in
29 other branches
contact.feature
Showing
2 changed files
with
5 additions
and
6 deletions
Show diff stats
features/contact.feature
@@ -14,8 +14,8 @@ In order to ask questions and solve problems | @@ -14,8 +14,8 @@ In order to ask questions and solve problems | ||
14 | 14 | ||
15 | @selenium | 15 | @selenium |
16 | Scenario: without states | 16 | Scenario: without states |
17 | - Given I am on Sample Community's homepage | ||
18 | - When I follow "Send an e-mail" and wait | 17 | + Given I am on sample-community's homepage |
18 | + When I follow "Send an e-mail" | ||
19 | Then I should not see "City and state" | 19 | Then I should not see "City and state" |
20 | 20 | ||
21 | @selenium | 21 | @selenium |
@@ -23,7 +23,6 @@ In order to ask questions and solve problems | @@ -23,7 +23,6 @@ In order to ask questions and solve problems | ||
23 | Given the following states | 23 | Given the following states |
24 | | name | | 24 | | name | |
25 | | Bahia | | 25 | | Bahia | |
26 | - And I am on Sample Community's homepage | ||
27 | - When I follow "Send an e-mail" and wait | 26 | + And I am on sample-community's homepage |
27 | + When I follow "Send an e-mail" | ||
28 | Then I should see "City and state" | 28 | Then I should see "City and state" |
29 | - |
features/support/paths.rb
@@ -37,7 +37,7 @@ module NavigationHelpers | @@ -37,7 +37,7 @@ module NavigationHelpers | ||
37 | "/myprofile/#{$2}/profile_design/edit/#{block.id}" | 37 | "/myprofile/#{$2}/profile_design/edit/#{block.id}" |
38 | 38 | ||
39 | when /^(.*)'s homepage$/ | 39 | when /^(.*)'s homepage$/ |
40 | - '/%s' % Profile.find_by_name($1).identifier | 40 | + '/' + $1 |
41 | 41 | ||
42 | when /^(.*)'s blog$/ | 42 | when /^(.*)'s blog$/ |
43 | '/%s/blog' % Profile.find_by_name($1).identifier | 43 | '/%s/blog' % Profile.find_by_name($1).identifier |