1 describe('tr.models.Cycle', function () {
2 it('has a name', function () {
3 var cycle
= new tr
.models
.Cycle('My Cycle');
5 expect(cycle
.name()).toEqual('My Cycle');
8 it('has a order', function () {
9 var cycle
= new tr
.models
.Cycle('My Cycle', 0);
11 expect(cycle
.order()).toEqual(0);