Delete obsolete tests

This commit is contained in:
John Firebaugh
2013-01-22 18:23:53 -05:00
parent ce7e6ff831
commit 9331cd3def
2 changed files with 0 additions and 39 deletions

View File

@@ -1,22 +0,0 @@
describe("iD", function () {
var container, editor;
beforeEach(function() {
container = d3.select('body').append('div');
editor = iD()
editor.map().background.source(null);
editor.call(container);
});
afterEach(function() {
container.remove();
});
it("allows an editor to add a place", function () {
// click 'Add Place'
// click on map
// select tags
// save
// check uploaded XML
});
});

View File

@@ -1,17 +0,0 @@
describe('iD.Style', function() {
describe('#waystack', function() {
it('stacks bridges over non-bridges', function() {
var a = { tags: { bridge: 'yes' } },
b = { tags: {} };
expect(iD.Style.waystack(a, b)).to.equal(1);
expect(iD.Style.waystack(b, a)).to.equal(-1);
});
it('stacks layers', function() {
var a = { tags: { layer: 1 } },
b = { tags: { layer: 0 } };
expect(iD.Style.waystack(a, b)).to.equal(1);
expect(iD.Style.waystack(b, a)).to.equal(-1);
});
});
});