From 92a3887c9a2977881c63a8e9eb9b85c1361f3d2d Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 27 Sep 2017 12:28:34 +0100 Subject: [PATCH] fixed spec/features/issues/filtered_search/dropdown_assignee_spec.rb spec runs too fast so it doesn't match the first text. I think testing that the loading indicator is hidden is enough --- spec/features/issues/filtered_search/dropdown_assignee_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/features/issues/filtered_search/dropdown_assignee_spec.rb b/spec/features/issues/filtered_search/dropdown_assignee_spec.rb index 1c4649d0ba9..550a778bda1 100644 --- a/spec/features/issues/filtered_search/dropdown_assignee_spec.rb +++ b/spec/features/issues/filtered_search/dropdown_assignee_spec.rb @@ -51,7 +51,6 @@ describe 'Dropdown assignee', :js do it 'should hide loading indicator when loaded' do filtered_search.set('assignee:') - expect(find(js_dropdown_assignee)).to have_css('.filter-dropdown-loading') expect(find(js_dropdown_assignee)).not_to have_css('.filter-dropdown-loading') end