Commit 98ea732b134ac8b1897532a4948257ffd46aabfc

Authored by Daniel Cunha
1 parent 8d278765

contact.feature

features/contact.feature
... ... @@ -14,8 +14,8 @@ In order to ask questions and solve problems
14 14  
15 15 @selenium
16 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 19 Then I should not see "City and state"
20 20  
21 21 @selenium
... ... @@ -23,7 +23,6 @@ In order to ask questions and solve problems
23 23 Given the following states
24 24 | name |
25 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 28 Then I should see "City and state"
29   -
... ...
features/support/paths.rb
... ... @@ -37,7 +37,7 @@ module NavigationHelpers
37 37 "/myprofile/#{$2}/profile_design/edit/#{block.id}"
38 38  
39 39 when /^(.*)'s homepage$/
40   - '/%s' % Profile.find_by_name($1).identifier
  40 + '/' + $1
41 41  
42 42 when /^(.*)'s blog$/
43 43 '/%s/blog' % Profile.find_by_name($1).identifier
... ...