diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-30 18:39:37 +0400 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2015-01-17 21:50:41 +0300 |
commit | 55d980905540bae6d02ac104dac5c23e96dd5711 (patch) | |
tree | 1c7a1295a439e9ff1b46d9fa59db0d0a0d57ee68 /features | |
parent | ada6c6080b2fa0d63003f8b29b5c32195254906d (diff) |
Convert Javascript links to buttons.
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/groups.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/groups.rb b/features/steps/groups.rb index f09d751dba3..b752d1edb20 100644 --- a/features/steps/groups.rb +++ b/features/steps/groups.rb @@ -29,7 +29,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps step 'I select user "Mary Jane" from list with role "Reporter"' do user = User.find_by(name: "Mary Jane") || create(:user, name: "Mary Jane") - click_link 'Add members' + click_button 'Add members' within ".users-group-form" do select2(user.id, from: "#user_ids", multiple: true) select "Reporter", from: "access_level" |