mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Correct Perform Search Test
This commit is contained in:
parent
0784c52a24
commit
185769c07b
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue