Skip to content

Commit 76f5ad0

Browse files
committed
fixup: baseUrl -> _baseUrl in drawing tests
1 parent fab9b2d commit 76f5ad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/drawing_test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('Drawing', function() {
4646
// grab window URL
4747
var href = window.location.href;
4848

49-
Drawing.setClipUrl(this.g, 'id3', {_context: {baseUrl: href}});
49+
Drawing.setClipUrl(this.g, 'id3', {_context: {_baseUrl: href}});
5050

5151
expect(this.g.attr('clip-path'))
5252
.toEqual('url(' + href + '#id3)');
@@ -63,7 +63,7 @@ describe('Drawing', function() {
6363
var href = window.location.href;
6464
var href2 = href.split('#')[0];
6565

66-
Drawing.setClipUrl(this.g, 'id4', {_context: {baseUrl: href2}});
66+
Drawing.setClipUrl(this.g, 'id4', {_context: {_baseUrl: href2}});
6767

6868
var expected = 'url(' + href2 + '#id4)';
6969

0 commit comments

Comments
 (0)