Skip to content

Instantly share code, notes, and snippets.

@roovo
Created September 8, 2011 06:56
Show Gist options
  • Save roovo/1202819 to your computer and use it in GitHub Desktop.
Save roovo/1202819 to your computer and use it in GitHub Desktop.
the output wot I got
86 specs, 3 failures in 0.628sFinished at Thu Sep 08 2011 07:44:01 GMT+0100 (BST)
runStoryCollection collection
runposition
runshould return stories in position order
runshould move between 2 other stories
runshould move after another story
runshould move after the last story
runshould move before the first story
runshould move before another story
runshould return the story after a given story
runshould return the story before a given story
runshould reset whenever a models position attr changes
runshould reset whenever a models state changes
runcolumns
runshould return all stories in the done column
runreturns a set of columns
runUserCollection collection
runutility methods
runshould return an array for a select control
runiteration
runinitialize
runshould assign stories if passed
rundefaults
runshould have an empty array of stories
runpoints
runshould calculate its points
runshould return 0 for points if it has no stories
runshould report how many points it overflows by
runfilling backlog iterations
runshould return how many points are available
runshould always accept chores bugs and releases
runshould accept a feature if there are enough free points
runshould always take at least one feature no matter how big
runProject model
runwhen instantiated
runshould exhibit attributes
runshould set up a story collection
runshould set up a user collection
runshould have a default velocity of 10
runurl
runshould have a url
runchangesets
runshould load changesets when last_changeset_id is changed
runshould reload changed stories from changesets
runshould load new stories from changesets
runshould only reload a story once if present in multiple changesets
runiterations
runshould get the right iteration number for a given date
runshould return the current iteration number
runshould return the date for an iteration number
Expected Date(Mon Nov 14 2011 01:00:00 GMT+0000 (BST)) to equal Date(Mon Nov 14 2011 00:00:00 GMT+0000 (BST)).
Error("Expected Date(Mon Nov 14 2011 01:00:00 GMT+0000 (BST)) to equal Date(Mon Nov 14 2011 00:00:00 GMT+0000 (BST)).")@:0 ([object Object])@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:102 ([object Date])@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1162 ()@http://localhost:8888/__spec__/models/project.spec.js:177 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:987 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {spec.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2038 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {self.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2183 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {self.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2183 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2140 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2184 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2140 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2184 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2012 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2039 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 (64)@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1749
Expected Date(Sun Nov 13 2011 01:00:00 GMT+0000 (BST)) to equal Date(Sun Nov 13 2011 00:00:00 GMT+0000 (BST)).
Error("Expected Date(Sun Nov 13 2011 01:00:00 GMT+0000 (BST)) to equal Date(Sun Nov 13 2011 00:00:00 GMT+0000 (BST)).")@:0 ([object Object])@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:102 ([object Date])@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1162 ()@http://localhost:8888/__spec__/models/project.spec.js:182 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:987 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {spec.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2038 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {self.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2183 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {self.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2183 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2140 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2184 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2140 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2184 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2012 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2039 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 (64)@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1749
Expected Date(Tue Nov 08 2011 01:00:00 GMT+0000 (BST)) to equal Date(Tue Nov 08 2011 00:00:00 GMT+0000 (BST)).
Error("Expected Date(Tue Nov 08 2011 01:00:00 GMT+0000 (BST)) to equal Date(Tue Nov 08 2011 00:00:00 GMT+0000 (BST)).")@:0 ([object Object])@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:102 ([object Date])@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1162 ()@http://localhost:8888/__spec__/models/project.spec.js:188 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:987 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {spec.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2038 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {self.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2183 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ((function () {self.finish(onComplete);}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1712 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2183 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1759 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2140 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2184 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2140 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2184 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1755 ((function () {if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {completedSynchronously = true;return;}if (self.blocks[self.index].abort) {self.abort = true;}self.offset = 0;self.index++;var now = (new Date).getTime();if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {self.env.lastUpdate = now;self.env.setTimeout(function () {self.next_();}, 0);} else {if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {goAgain = true;} else {self.next_();}}}))@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2012 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:2039 ()@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1769 (64)@http://localhost:8888/__JASMINE_ROOT__/lib/jasmine.js:1749
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment