From 723798cc30c50dc99f8c8e11fea938669227bacc Mon Sep 17 00:00:00 2001 From: cpradio Date: Thu, 28 Aug 2014 23:32:56 -0400 Subject: [PATCH] Correct Perform Search Test --- test/javascripts/integration/header-anonymous-test.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/javascripts/integration/header-anonymous-test.js.es6 b/test/javascripts/integration/header-anonymous-test.js.es6 index f1b1daa1c..c7a124017 100644 --- a/test/javascripts/integration/header-anonymous-test.js.es6 +++ b/test/javascripts/integration/header-anonymous-test.js.es6 @@ -39,6 +39,6 @@ test("header", function() { fillIn("#search-term", "hello"); andThen(function() { ok(exists("#search-dropdown .heading"), "when user completes a search, search box shows search results"); - equal(find("#search-dropdown a:first").attr("href"), "some-url", "there is a search result"); + equal(find("#search-dropdown a:not(.filter):first").attr("href"), "some-url", "there is a search result"); }); });