Adding Dockerfile / removing bower
[tech-radar.git] / test / models / cycle-spec.js
1 describe('tr.models.Cycle', function () {
2 it('has a name', function () {
3 var cycle = new tr.models.Cycle('My Cycle');
4
5 expect(cycle.name()).toEqual('My Cycle');
6 });
7
8 it('has a order', function () {
9 var cycle = new tr.models.Cycle('My Cycle', 0);
10
11 expect(cycle.order()).toEqual(0);
12 });
13 });