diff --git a/spec/javascripts/app/collections/contacts_collection_spec.js b/spec/javascripts/app/collections/contacts_collection_spec.js index 3b64d4bd9..a2342851d 100644 --- a/spec/javascripts/app/collections/contacts_collection_spec.js +++ b/spec/javascripts/app/collections/contacts_collection_spec.js @@ -21,6 +21,7 @@ describe("app.collections.Contacts", function(){ }); it("should compare the username if app.aspect is not present", function() { + delete app.aspect; expect(this.collection.comparator(this.con1, this.con3)).toBeLessThan(0); });