mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
16 lines
278 B
JavaScript
16 lines
278 B
JavaScript
describe('Way', function() {
|
|
var way;
|
|
|
|
beforeEach(function() {
|
|
way = new iD.Way();
|
|
});
|
|
|
|
it('is a way', function() {
|
|
expect(way.entityType).toEqual('way');
|
|
});
|
|
|
|
it('has zero nodes by default', function() {
|
|
expect(way.length()).toEqual(0);
|
|
});
|
|
});
|