diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-11 14:54:58 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-11 14:54:58 +0400 |
commit | 52f312a8a83eb24fdae41eed7923a64f816f70d3 (patch) | |
tree | 1dd68a23d544bc6a64d90e0e59e7740604f0742d /features/steps/group | |
parent | c38a6fe17308769d3d0ddbed99d0768b15c7dc73 (diff) |
fix group:people tests after prev commit
Diffstat (limited to 'features/steps/group')
-rw-r--r-- | features/steps/group/group.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb index 8b5a4ed44df..102bc440d82 100644 --- a/features/steps/group/group.rb +++ b/features/steps/group/group.rb @@ -1,6 +1,7 @@ class Groups < Spinach::FeatureSteps include SharedAuthentication include SharedPaths + include Select2Helper Then 'I should see projects list' do current_user.authorized_projects.each do |project| @@ -39,7 +40,7 @@ class Groups < Spinach::FeatureSteps And 'I select user "John" from list with role "Reporter"' do user = User.find_by_name("John") within "#new_team_member" do - select user.name, from: "user_ids" + select2(user.id, from: "#user_ids", multiple: true) select "Reporter", from: "project_access" end click_button "Add" |