From a0f74daf6bd216d0076e52c5576a164fd95e66f3 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 18 Oct 2014 20:16:19 +1100 Subject: [PATCH] correct dodgy 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 f61e1bcf0..eff591075 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:not(.filter):first").attr("href"), "/t/hello-bar-integration-issues/17638", "there is a search result"); + equal(find("#search-dropdown .results a:first").attr("href"), "/t/hello-bar-integration-issues/17638", "there is a search result"); }); });