From 185769c07b30b17144db310b209e0b50e6f25e69 Mon Sep 17 00:00:00 2001 From: cpradio Date: Thu, 28 Aug 2014 23:21:43 -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 3a9d37912d1..f1b1daa1cba 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 .selected a").attr("href"), "some-url", "the first search result is selected"); + equal(find("#search-dropdown a:first").attr("href"), "some-url", "there is a search result"); }); });