Skip to content

Commit

Permalink
Fix group test
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  • Loading branch information
dzaporozhets committed Jan 5, 2014
1 parent d28ee0d commit a6da154
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/groups/_new_group_member.html.haml
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
2 changes: 1 addition & 1 deletion features/steps/group/group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6da154

Please sign in to comment.