aboutsummaryrefslogtreecommitdiffstats
path: root/test/AngularSpec.js
diff options
context:
space:
mode:
authorVojta Jina2013-08-20 14:41:27 -0700
committerVojta Jina2013-08-23 12:43:42 -0700
commitb89a4e49b922894f93d5cc69e00016f157dee625 (patch)
treef2c1fdc470b686d4faaa18a11449bdba4f361fbc /test/AngularSpec.js
parenteefcdad013b56d5d3a05c0b2137a5860091b2575 (diff)
downloadangular.js-b89a4e49b922894f93d5cc69e00016f157dee625.tar.bz2
test: rename / remove duplicate unit tests
Diffstat (limited to 'test/AngularSpec.js')
-rw-r--r--test/AngularSpec.js4
1 files changed, 2 insertions, 2 deletions
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);