Update tests

This commit is contained in:
Tom MacWright
2013-02-09 18:06:35 -05:00
parent 6faf7a27c4
commit f15191af2c
2 changed files with 4 additions and 2 deletions

View File

@@ -51,6 +51,8 @@ describe("iD.behavior.Hash", function () {
});
it("stores the current zoom and coordinates in location.hash on map move events", function () {
location.hash = "";
hash();
context.map().center([38.9, -77.0]);

View File

@@ -22,8 +22,8 @@ describe('iD.Background', function() {
});
it('#source', function() {
expect(c.source(iD.BackgroundSource.Bing)).to.equal(c);
expect(c.source()).to.equal(iD.BackgroundSource.Bing);
expect(c.source(iD.layers[0])).to.equal(c);
expect(c.source()).to.equal(iD.layers[0]);
});
});