diff --git a/spec/requests/issues_spec.rb b/spec/requests/issues_spec.rb index ff4d4c8b..a4b02686 100644 --- a/spec/requests/issues_spec.rb +++ b/spec/requests/issues_spec.rb @@ -79,18 +79,6 @@ describe "Issues" do page.should have_content 'foobar2' page.should_not have_content 'gitlab' end - - it "should return all results if term has been cleared" do - visit project_issues_path(project) - fill_in "issue_search", with: "foobar" - # Reset the search field and trigger loading the issues - fill_in "issue_search", with: "" - page.execute_script("$('#issue_search').keyup();"); - - page.should have_content 'foobar' - page.should have_content 'foobar2' - page.should have_content 'gitlab' - end end describe "Filter issue" do