Fixing typo.

This commit is contained in:
ahocevar
2012-07-18 08:10:44 +02:00
parent 6c9ef26c79
commit 78f8ed04dd

View File

@@ -68,7 +68,7 @@ describe('ol.handler.Drag', function() {
it('calls the default action', function() {
var handler = new ol.handler.Drag(map, {});
var spy spyOn(handler, 'defaultDrag');
var spy = spyOn(handler, 'defaultDrag');
handler.dragger_.dispatchEvent({type: goog.fx.Dragger.EventType.DRAG});
expect(spy).toHaveBeenCalled();