Correct Perform Search Test

This commit is contained in:
cpradio 2014-08-28 23:32:56 -04:00
parent 185769c07b
commit 723798cc30

View file

@ -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");
});
});