Inject history dependency in map

This commit is contained in:
John Firebaugh
2012-12-03 17:30:52 -05:00
parent 38958515d8
commit 0370b487e3
4 changed files with 52 additions and 41 deletions
+5
View File
@@ -66,6 +66,11 @@ describe('Map', function() {
beforeEach(function () {
spy = sinon.spy();
map.history({
perform: function () {},
undo: function () {},
redo: function () {}
});
map.on('update', spy);
});