summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-06-21 21:19:06 +0200
committerwout <wout@impinc.co.uk>2014-06-21 21:19:06 +0200
commit0bb294ad9189797014b1e1bf55e41ca4b1ead19e (patch)
tree4e4c5004beea90033e9fe80846c9a4c0b2b2ba30 /spec
parent629a01b3bbf057eae7e0599433bbbcb28acd8587 (diff)
downloadsvg.js-0bb294ad9189797014b1e1bf55e41ca4b1ead19e.tar.gz
svg.js-0bb294ad9189797014b1e1bf55e41ca4b1ead19e.zip
Back on track with the specs
Diffstat (limited to 'spec')
-rwxr-xr-xspec/spec/arrange.js1
-rw-r--r--spec/spec/marker.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/spec/spec/arrange.js b/spec/spec/arrange.js
index 195c322..07f87d1 100755
--- a/spec/spec/arrange.js
+++ b/spec/spec/arrange.js
@@ -56,6 +56,7 @@ describe('Arrange', function() {
expect(e3.position()).toBe(2)
})
it('keeps the defs on top of the stack', function() {
+ draw.defs()
e3.forward()
expect(draw.node.childNodes[2]).toBe(e3.node)
expect(draw.node.childNodes[3]).toBe(draw.defs().node)
diff --git a/spec/spec/marker.js b/spec/spec/marker.js
index ef1ea10..7b902d4 100644
--- a/spec/spec/marker.js
+++ b/spec/spec/marker.js
@@ -47,7 +47,7 @@ describe('Marker', function() {
this.ref(5, 6)
})
- marker = path.marker('mid')
+ marker = path.marker('mid', 10, 10)
})
it('creates an instance of SVG.Marker', function() {