projects
/
tech-radar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sorting cycles by their order
[tech-radar.git]
/
test
/
models
/
cycle-spec.js
diff --git
a/test/models/cycle-spec.js
b/test/models/cycle-spec.js
index
ecba3d1
..
d02deeb
100644
(file)
--- a/
test/models/cycle-spec.js
+++ b/
test/models/cycle-spec.js
@@
-4,4
+4,10
@@
describe('tr.models.Cycle', function () {
expect(cycle.name()).toEqual('My Cycle');
});
+
+ it('has a order', function () {
+ var cycle = new tr.models.Cycle('My Cycle', 0);
+
+ expect(cycle.order()).toEqual(0);
+ });
});