From 85a0e6e28793fa85282857e665e437ab4ac6c875 Mon Sep 17 00:00:00 2001 From: wout Date: Wed, 5 Feb 2014 14:02:38 +0100 Subject: Fix in patharray arc --- spec/spec/path.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec') diff --git a/spec/spec/path.js b/spec/spec/path.js index 85d596e..2862a92 100644 --- a/spec/spec/path.js +++ b/spec/spec/path.js @@ -158,6 +158,10 @@ describe('Path', function() { path = path.plot('M 50 60 A 60 60 0 0 0 50 -60 H 100 V 100 L 20 30 C 10 20 30 40 50 60') expect(path.node.getAttribute('d')).toBe('M 50 60 A 60 60 0 0 0 50 -60 H 100 V 100 L 20 30 C 10 20 30 40 50 60') }) + it('renders path array correctly to string', function() { + path = path.plot('M 50 60 A 60 60 1 1 0 50 -60 H 100 V 100 L 20 30 C 10 20 30 40 50 60') + expect(path.node.getAttribute('d')).toBe('M 50 60 A 60 60 1 1 0 50 -60 H 100 V 100 L 20 30 C 10 20 30 40 50 60') + }) }) describe('length()', function() { -- cgit v1.2.3