From 629a01b3bbf057eae7e0599433bbbcb28acd8587 Mon Sep 17 00:00:00 2001 From: wout Date: Sat, 21 Jun 2014 20:32:28 +0200 Subject: Various reference fixes --- spec/spec/doc.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/spec/doc.js b/spec/spec/doc.js index ba9fecc..81e47f9 100755 --- a/spec/spec/doc.js +++ b/spec/spec/doc.js @@ -3,9 +3,13 @@ describe('Doc', function() { it('is an instance of SVG.Container', function() { expect(draw instanceof SVG.Container).toBe(true) }) + + it('is an instance of SVG.Doc', function() { + expect(draw instanceof SVG.Doc).toBe(true) + }) it('has a defs element', function() { - expect(draw._defs instanceof SVG.Defs).toBe(true) + expect(draw.defs() instanceof SVG.Defs).toBe(true) }) describe('defs()', function() { -- cgit v1.2.3