summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-06-21 20:32:28 +0200
committerwout <wout@impinc.co.uk>2014-06-21 20:32:28 +0200
commit629a01b3bbf057eae7e0599433bbbcb28acd8587 (patch)
treec6ce43e4bb28e61885921d19ae99726ea93828c0 /spec
parent19b6fd4338246d1fd9ca4806e57c7aebcec63826 (diff)
downloadsvg.js-629a01b3bbf057eae7e0599433bbbcb28acd8587.tar.gz
svg.js-629a01b3bbf057eae7e0599433bbbcb28acd8587.zip
Various reference fixes
Diffstat (limited to 'spec')
-rwxr-xr-xspec/spec/doc.js6
1 files changed, 5 insertions, 1 deletions
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() {