Commit 2d5096b6787a601740a59cf9b8d5d4cf53471a83
1 parent
37187336
Exists in
master
and in
4 other branches
Fix ambiguity for member link in test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
features/steps/project/project_team_management.rb
@@ -53,7 +53,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps | @@ -53,7 +53,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps | ||
53 | end | 53 | end |
54 | 54 | ||
55 | Given 'I click link "Sam"' do | 55 | Given 'I click link "Sam"' do |
56 | - click_link "Sam" | 56 | + first(:link, "Sam").click |
57 | end | 57 | end |
58 | 58 | ||
59 | Then 'I should see "Sam" team profile' do | 59 | Then 'I should see "Sam" team profile' do |