diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2017-10-04 17:10:24 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-04 23:49:42 +0300 |
commit | de55396134e9e3de429c5c6df55ff06efb8ba329 (patch) | |
tree | 30060acfecfd668c29135d45958af820e7aaa840 /spec/features/dashboard/groups_list_spec.rb | |
parent | 67815272dceb971c03bea3490ec26529b48a52b4 (diff) |
Groups tree enhancements for Groups Dashboard and Group Homepage
Diffstat (limited to 'spec/features/dashboard/groups_list_spec.rb')
-rw-r--r-- | spec/features/dashboard/groups_list_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/features/dashboard/groups_list_spec.rb b/spec/features/dashboard/groups_list_spec.rb index 227550e62be..9cfef46d346 100644 --- a/spec/features/dashboard/groups_list_spec.rb +++ b/spec/features/dashboard/groups_list_spec.rb @@ -16,6 +16,7 @@ feature 'Dashboard Groups page', :js do sign_in(user) visit dashboard_groups_path + wait_for_requests expect(page).to have_content(group.full_name) expect(page).to have_content(nested_group.full_name) @@ -33,7 +34,7 @@ feature 'Dashboard Groups page', :js do end it 'filters groups' do - fill_in 'filter_groups', with: group.name + fill_in 'filter', with: group.name wait_for_requests expect(page).to have_content(group.full_name) @@ -42,10 +43,10 @@ feature 'Dashboard Groups page', :js do end it 'resets search when user cleans the input' do - fill_in 'filter_groups', with: group.name + fill_in 'filter', with: group.name wait_for_requests - fill_in 'filter_groups', with: '' + fill_in 'filter', with: '' wait_for_requests expect(page).to have_content(group.full_name) |