Commit cfc9280de16765613726f4db2708ea85136433a3

Authored by Rodrigo Souto
1 parent 2b791b83

invitation-steps: avoid ambiguous link error

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
features/step_definitions/invitation_steps.rb
1 1 Given /^I invite email "(.+)" to join community "(.+)"$/ do |email, community|
2 2 identifier = Community.find_by_name(community).identifier
3 3 visit("/myprofile/#{identifier}/profile_members")
4   - click_link('Invite your friends to join 26 Bsslines')
  4 + first(:link, "Invite your friends to join #{community}").click
5 5 click_button('Next')
6 6 fill_in('manual_import_addresses', :with => "#{email}")
7 7 click_link('Personalize invitation mail')
... ...