Files
iD/test/spec/Way.js
Tom MacWright 2b38b38313 Fixup tests
2012-11-06 16:23:50 -05:00

15 lines
301 B
JavaScript

describe('Way', function() {
var way;
beforeEach(function() {
way = { type: 'way', nodes: ['n1', 'n2'] };
});
describe('#isClosed', function() {
it('is not closed with two distinct nodes ', function() {
expect(iD.Way.isClosed(way)).toEqual(false);
});
});
});