Merge pull request #168 from nasa/mct80

[Plot] Dates show 1970 when there is no data
This commit is contained in:
Victor Woeltjen
2015-10-09 13:40:04 -07:00
3 changed files with 25 additions and 2 deletions

View File

@@ -157,6 +157,15 @@ define(
);
});
it ("indicates when there is domain data shown", function () {
expect(subplot.hasDomainData()).toEqual(true);
});
it ("indicates when there is no domain data shown", function () {
mockPanZoomStack.getDimensions.andReturn([0,0]);
expect(subplot.hasDomainData()).toEqual(false);
});
it("disallows marquee zoom when start and end Marquee is at the same position", function () {
expect(mockPanZoomStack.pushPanZoom).not.toHaveBeenCalled();