Commit 3d1c9e61 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix group test


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 067c14409368
= 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}
......
......@@ -40,7 +40,7 @@
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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment