diff --git a/app/views/groups/_new_group_member.html.haml b/app/views/groups/_new_group_member.html.haml index a0dd4fbb595..54e010ad2d9 100644 --- a/app/views/groups/_new_group_member.html.haml +++ b/app/views/groups/_new_group_member.html.haml @@ -1,4 +1,4 @@ -= form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal' } do |f| += form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal users-group-form' } do |f| %h4.append-bottom-20 New member(s) for %strong #{@group.name} diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb index 99ec77a7613..bcadf21c233 100644 --- a/features/steps/group/group.rb +++ b/features/steps/group/group.rb @@ -40,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_users_group" do + within ".users-group-form" do select2(user.id, from: "#user_ids", multiple: true) select "Reporter", from: "group_access" end