Commit a6da154e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix group test

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent d28ee0df
= 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 %h4.append-bottom-20
New member(s) for New member(s) for
%strong #{@group.name} %strong #{@group.name}
......
...@@ -40,7 +40,7 @@ class Groups < Spinach::FeatureSteps ...@@ -40,7 +40,7 @@ class Groups < Spinach::FeatureSteps
And 'I select user "John" from list with role "Reporter"' do And 'I select user "John" from list with role "Reporter"' do
user = User.find_by_name("John") user = User.find_by_name("John")
within ".new_users_group" do within ".users-group-form" do
select2(user.id, from: "#user_ids", multiple: true) select2(user.id, from: "#user_ids", multiple: true)
select "Reporter", from: "group_access" select "Reporter", from: "group_access"
end end
......
Markdown is supported
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