Change close to minimize

Change-Id: I9eeb858b6d03a54114f332486ae0f60782912acf
diff --git a/dev/js/spec/matchSpec.js b/dev/js/spec/matchSpec.js
index b72cd9a..8df6e86 100644
--- a/dev/js/spec/matchSpec.js
+++ b/dev/js/spec/matchSpec.js
@@ -391,7 +391,7 @@
       expect(actions[2].getAttribute("class")).toEqual("tree");
       
       // Close the match
-      m.close();
+      m.minimize();
       expect(e.classList.contains('active')).toBe(false);
       expect(e["_match"]).not.toBe(undefined);
     });