Merge pull request #4450 from ahocevar/fix-select

Fix select interaction regression caused by #4391
This commit is contained in:
Andreas Hocevar
2015-11-19 18:20:04 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ describe('ol.interaction.Select', function() {
unmanaged.setMap(map);
map.renderSync();
simulateEvent(ol.MapBrowserEvent.EventType.SINGLECLICK, 10, -20);
expect(spy.firstCall.args[0]).to.not.equal(feature);
expect(spy.getCalls().length).to.be(0);
unmanaged.setMap(null);
});
});