Skip to content

Commit

Permalink
fix project detector tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Trufi committed Jun 8, 2015
1 parent 3cde03b commit 33b9784
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DGProjectDetector/test/ProjectDetectorInSpec.js
Expand Up @@ -193,7 +193,7 @@ describe('DG.ProjectDetectorIn', function () {
map.setView(project1, 8);

expect(map.fitBounds(new DG.LatLngBounds(edgeProject1, edgeProject2))).to.be(map);
expect(map.getZoom()).to.be(maxDesertZoom);
expect(map.getZoom()).to.be(14);
});

it('bound on project1 from project1 small zoom', function () {
Expand Down
Expand Up @@ -193,7 +193,7 @@ describe('DG.ProjectDetectorOut', function () {
map.setView(project1, 8);

expect(map.fitBounds(new DG.LatLngBounds(edgeProject1, edgeProject2))).to.be(map);
expect(map.getZoom()).to.be(maxDesertZoom);
expect(map.getZoom()).to.be(14);
});

it('bound on project1 from project1 small zoom', function () {
Expand Down
2 changes: 1 addition & 1 deletion src/DGProjectDetector/test/ProjectDetectorUnderSpec.js
Expand Up @@ -193,7 +193,7 @@ describe('DG.ProjectDetectorUnder', function () {
map.setView(project1, 8);

expect(map.fitBounds(new DG.LatLngBounds(edgeProject1, edgeProject2))).to.be(map);
expect(map.getZoom()).to.be(maxDesertZoom);
expect(map.getZoom()).to.be(14);
});

it('bound on project1 from project1 small zoom', function () {
Expand Down

0 comments on commit 33b9784

Please sign in to comment.