summaryrefslogtreecommitdiff
path: root/spec/features/explore/groups_list_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/explore/groups_list_spec.rb')
-rw-r--r--spec/features/explore/groups_list_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/explore/groups_list_spec.rb b/spec/features/explore/groups_list_spec.rb
index 801a33979ff..ad02b454aee 100644
--- a/spec/features/explore/groups_list_spec.rb
+++ b/spec/features/explore/groups_list_spec.rb
@@ -35,7 +35,11 @@ describe 'Explore Groups page', :js do
fill_in 'filter', with: group.name
wait_for_requests
+ expect(page).to have_content(group.full_name)
+ expect(page).not_to have_content(public_group.full_name)
+
fill_in 'filter', with: ""
+ page.find('[name="filter"]').send_keys(:enter)
wait_for_requests
expect(page).to have_content(group.full_name)