diff options
Diffstat (limited to 'spec/spec/adopter.js')
-rw-r--r-- | spec/spec/adopter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec/adopter.js b/spec/spec/adopter.js index 7f2f45b..0398cb3 100644 --- a/spec/spec/adopter.js +++ b/spec/spec/adopter.js @@ -23,7 +23,7 @@ describe('Adopter', function() { expect(path.parent().node.getAttribute('xmlns:xlink')).toBe(SVG.xlink) }) it('initializes a defs node', function() { - expect(path.parent()._defs).toBe(path.parent().defs()) + expect(path.defs() instanceof SVG.Defs).toBe(true) }) }) |