Fix group test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-01-05 22:12:03 +02:00
parent d28ee0df12
commit a6da154ed3
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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