From b89a4e49b922894f93d5cc69e00016f157dee625 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Tue, 20 Aug 2013 14:41:27 -0700 Subject: test: rename / remove duplicate unit tests --- test/AngularSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/AngularSpec.js') diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 415ff25d..344e2ead 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -88,9 +88,9 @@ describe('angular', function() { expect(dst.a).not.toBe(src.a); }); - it("should deeply copy an object into an existing object", function() { + it("should deeply copy an object into a non-existing object", function() { var src = {a:{name:"value"}}; - var dst = copy(src, dst); + var dst = copy(src, undefined); expect(src).toEqual({a:{name:"value"}}); expect(dst).toEqual(src); expect(dst).not.toBe(src); -- cgit v1.2.3