Commit a6da154ed3b91394d071e903ee578c7ab243afd1
1 parent
d28ee0df
Exists in
spb-stable
and in
3 other branches
Fix group test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/groups/_new_group_member.html.haml
1 | -= form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal' } do |f| | 1 | += form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal users-group-form' } do |f| |
2 | %h4.append-bottom-20 | 2 | %h4.append-bottom-20 |
3 | New member(s) for | 3 | New member(s) for |
4 | %strong #{@group.name} | 4 | %strong #{@group.name} |
features/steps/group/group.rb
@@ -40,7 +40,7 @@ class Groups < Spinach::FeatureSteps | @@ -40,7 +40,7 @@ class Groups < Spinach::FeatureSteps | ||
40 | 40 | ||
41 | And 'I select user "John" from list with role "Reporter"' do | 41 | And 'I select user "John" from list with role "Reporter"' do |
42 | user = User.find_by_name("John") | 42 | user = User.find_by_name("John") |
43 | - within ".new_users_group" do | 43 | + within ".users-group-form" do |
44 | select2(user.id, from: "#user_ids", multiple: true) | 44 | select2(user.id, from: "#user_ids", multiple: true) |
45 | select "Reporter", from: "group_access" | 45 | select "Reporter", from: "group_access" |
46 | end | 46 | end |