Commit Graph

371 Commits

Author SHA1 Message Date
Allen Pan
b25fa06019 Fixed algos test to pass in task instead of task.repeat to shouldDo (API changed a few commits ago, but missed updating this test). 2015-05-22 23:42:05 -07:00
Blade Barringer
664bf491d2 Adjust fallenPanda's PR
* Use enum for frequency in task model
* Adjust ui of task selection
* Correct check for hasStarted
* Remove semicolons
* Set default start day to today
* Correct perfect day and resting in inn tests to have dailies with start dates of a week ago
* Add tests for dailies/weeklies functionality
2015-05-22 22:14:58 -07:00
Blade Barringer
2900c53b84 Fix and unpend dailies test 2015-05-19 20:22:43 -05:00
Allen Pan
d1805f9181 Fixed issue where incorrect time type passed in for shouldDo’s ‘day’ argument (should be a Date, sometimes Moment is passed in). Fixed incorrect comparison between Moment and Date. 2015-05-15 20:24:47 -07:00
Sabe Jones
68ce9a8457 fix(test): Unlock takes query, not params 2015-05-13 14:34:20 -05:00
Sabe Jones
0cb1d8ec9a test(purchases): Gem buying tests
Also corrects the byline for Inn improvements to credit primary coder @hairlessbear.
2015-05-13 14:21:13 -05:00
Blade Barringer
dca45d7845 Enable new inn behavior 2015-05-13 08:44:08 -05:00
Blade Barringer
0629b6af18 Correct bad tests in common suite 2015-05-13 08:37:52 -05:00
Blade Barringer
5cc847857f Unpend in test, pend failing tests 2015-05-13 07:50:16 -05:00
Blade Barringer
e09d4f3a91 Commented out new dailies behavior 2015-05-03 08:21:29 -05:00
Blade Barringer
c81d321366 Checklists should reset even when resting in the inn 2015-05-02 22:10:26 -05:00
hairlessbear
2d9707bd39 Added dailies[0].history check and changed array check to' empty' 2015-04-27 13:41:58 -04:00
hairlessbear
7ac2c0c0c4 Made test name more descriptive and added HP expects 2015-04-27 10:49:57 -04:00
hairlessbear
5693386b12 Fixed tests 2015-04-27 00:42:55 -04:00
hairlessbear
4b980c78a1 Made tests more descriptive 2015-04-26 22:49:05 -04:00
hairlessbear
53ff109680 Added tests for Inn functionality 2015-04-26 19:07:11 -04:00
Kevin Gisi
97323eaf23 Marked some tests as pending, after rebase 2015-03-26 17:57:58 -04:00
Kevin Gisi
17c7e199bd Fix some of the formatting changes - was accidentally testing against a newer version of coffeescript 2015-03-26 17:57:58 -04:00
Kevin Gisi
bcd3d9a0b7 Add Mocha specs for common back into the test suite 2015-03-26 17:57:57 -04:00
Blade Barringer
9b8f006064 Added sinon and corrected path 2015-02-03 21:30:43 -06:00
Blade Barringer
0f62845fb2 Moved tests into main test folder and corrected path to common files 2015-02-03 21:29:05 -06:00