Fix group test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
d28ee0df12
commit
a6da154ed3
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue