Update test to not expect top-level links in the summary.
authorJason Skomorowski <jason@indexdata.com>
Tue, 4 Nov 2014 17:20:21 +0000 (12:20 -0500)
committerJason Skomorowski <jason@indexdata.com>
Tue, 4 Nov 2014 17:20:21 +0000 (12:20 -0500)
test/spec/mkws-pazpar2.js

index 2cfe93d..c295b32 100644 (file)
@@ -674,7 +674,7 @@ describe("Check SortBy options", function () {
 
         function title_list(prefix) {
             var list = [];
-            var terms = $("div.mkws-records > div.mkws-summary > a");
+            var terms = $("div.mkws-records > div.mkws-summary");
             for (var i = 0; i < terms.length; i++) {
                 var term = $(terms[i]).text().trim();
                 list.push(term);