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
Blade Barringer
bd76b762e6
Merge pull request #5212 from HabitRPG/negue-WIP-Push-notifications
...
Negue wip push notifications
2015-05-18 11:14:53 -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
Blade Barringer
56b6794c66
Correct test string
2015-05-14 22:09:36 -05:00
Blade Barringer
547d234b46
Add final test for push notifications
2015-05-14 21:32:28 -05:00
Blade Barringer
7a2e2fa227
Add tests for invites to guilds or parties
2015-05-14 17:29:33 -05:00
Blade Barringer
84aaeedfff
Add challenges test
2015-05-14 07:32:16 -05:00
Blade Barringer
2fac464160
Remove extranious pushSpy declaration
2015-05-13 19:35:26 -05:00
Blade Barringer
023458b6e5
Add test for getting push notification when gifted a subscription
2015-05-13 19:31:26 -05: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
8a4abc632f
Refactor push notifications test; Prevent push notification from being sent when buying gems for yourself as a gift
2015-05-12 20:18:06 -05:00
Blade Barringer
9a84503aed
Merge branch 'develop' into negue-WIP-Push-notifications
2015-05-12 19:06:34 -05:00
Blade Barringer
292b8a6741
Correct comments
2015-05-12 18:58:56 -05:00
Blade Barringer
8f17519cd3
Reduce timeout time
2015-05-12 18:57:35 -05:00
Blade Barringer
e35b24582b
Fix push notification tests
2015-05-12 18:26:18 -05:00
Negue
adef6bef7b
tried to add a test for purchased gem gift
2015-05-12 21:36:22 +02:00
Blade Barringer
b635c62d16
Add contexts
2015-05-12 09:04:07 -05:00
Blade Barringer
ff41a2c240
Refactor group tests
2015-05-12 08:08:55 -05:00
Blade Barringer
faa897e4ae
Re-enable skipped test
2015-05-11 17:29:46 -05:00
Blade Barringer
60857994c3
Add expectation that push notification gets called when sending gems
2015-05-11 17:27:58 -05:00
Blade Barringer
3c61b8dc4f
Add todo about re-enabling test
2015-05-11 14:41:35 -05:00
Blade Barringer
b663ff7101
Skipping group tests while we sort out join issue
2015-05-11 14:40:45 -05:00
Matteo Pagliazzi
c3bb6b88fa
fix(tests): temporarily skip test
2015-05-11 17:21:57 +02:00
Blade Barringer
3cda9ff820
Update push notification test to use chai expect
2015-05-11 08:19:49 -05:00
Blade Barringer
a7fa8dc9a4
Merge branch 'develop' into negue-WIP-Push-notifications
2015-05-11 08:18:11 -05:00
Blade Barringer
c444f54e42
Remove unnecessary global declarations
2015-05-11 08:17:46 -05:00
Blade Barringer
ed8a4ef651
Use chai expect instead of expect.js
2015-05-11 08:13:23 -05:00
Blade Barringer
a906c750eb
Correct spy set up
2015-05-10 22:13:53 -05:00
Blade Barringer
d4a296870b
Add test for push notification when gems are sent
2015-05-10 20:39:11 -05:00
Blade Barringer
c219df2a9d
Set up pended tests for push notifications
2015-05-10 17:10:21 -05:00
Blade Barringer
bf4ecf244c
organized push notifications api test
2015-05-10 16:36:10 -05:00
Blade Barringer
95a90723c8
Merge branch 'develop' into negue-WIP-Push-notifications
2015-05-10 16:27:58 -05:00
Negue
1cc07129f1
Merge branch 'develop' into pushNotifications2
...
Conflicts:
test/api.mocha.coffee
2015-05-10 22:01:41 +02:00
Blade Barringer
8badc7d1a9
Add coupon api tests
2015-05-10 14:54:45 -05:00
Blade Barringer
4e2bfc0875
Merge branch 'develop' into negue-anonymizedUser
2015-05-09 10:44:41 -05:00
Blade Barringer
49595adad9
Merge branch 'develop' into crookedneighbor-separate_mocha_tests
2015-05-08 21:41:34 -05:00
Negue
1858a98bad
add test for push notification api call
2015-05-08 23:46:41 +02:00
Negue
1f674aab41
/user/anonymized - return user json without personal data
2015-05-08 18:52:29 +02:00
Blade Barringer
8569f7b749
Merge branch 'joyclark-autocomplete-click-behavior' into develop
2015-05-08 08:45:06 -05:00
Blade Barringer
efa193b262
Refactor test
2015-05-08 08:44:50 -05:00
Blade Barringer
bb42acacdb
Change format of testing commands in readme
2015-05-07 21:52:56 -05:00
Blade Barringer
d1d319f57e
Clarify matter in readme
2015-05-07 21:50:22 -05:00
Blade Barringer
17c248e970
Add readme. Adjust api-helper.coffee
2015-05-07 21:33:59 -05:00
Blade Barringer
2ca5956cee
Adjust namespace of api tests
2015-05-07 21:22:30 -05:00