Rename "termlist" variable to "facets".
authorMike Taylor <mike@indexdata.com>
Mon, 3 Nov 2014 15:53:29 +0000 (15:53 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 3 Nov 2014 15:53:29 +0000 (15:53 +0000)
test/spec/mkws-pazpar2.js

index 28e0019..ccc161e 100644 (file)
@@ -231,9 +231,9 @@ describe("Check Facets", function () {
     var $ = mkws.$;
 
     it("found Facets", function () {
-        var termlist = $("div.mkws-facets");
-        debug("Facet success: " + termlist.length);
-        expect(termlist.length).toBe(1);
+        var facets = $("div.mkws-facets");
+        debug("Facet success: " + facets.length);
+        expect(facets.length).toBe(1);
 
         waitsFor(function () {
             return $("div.mkws-facet[data-mkws-facet='xtargets']").length == 1 ? true : false;