Blade Barringer
e98484d0ec
Move anonymous route test to new structure.
2015-10-28 21:00:28 -05:00
Blade Barringer
fd4fb836f0
Move task tests
2015-10-28 17:18:27 -05:00
Sabe Jones
aad3e5ade6
fix(sharing): Add social service to Inventory
...
Also fixes accidental 'only' in tests.
2015-10-28 16:52:07 -04:00
Sabe Jones
f4ea6c1d5d
feat(sharing): Opt Out WIP
...
First draft of support for opting out of future modal display on specific events, and adds the second barebones target page for sharing.
2015-10-28 16:36:47 -04:00
Sabe Jones
27e3797307
Merge branch 'develop' into sabrecat/more-modals
...
Conflicts:
common/locales/en/challenge.json
2015-10-28 14:54:55 -04:00
Blade Barringer
b70597e1d1
Merge pull request #6122 from crookedneighbor/batch_update_adjustment
...
Batch update adjustment
2015-10-27 21:35:19 -05:00
Blade Barringer
691ab86bd6
Add test for default user id
2015-10-27 19:40:11 -05:00
Blade Barringer
a7c52e6086
Reinstate amplitude analytics
2015-10-27 19:37:57 -05:00
Blade Barringer
68689d1a05
Remove debug option from mocha opts
2015-10-27 12:25:39 -05:00
Blade Barringer
4886b50aa3
Add testing for batch update. Handle unknown operations better.
2015-10-27 08:13:30 -05:00
Carlo Zancanaro
4d6bd38648
Add GET routes for /user/tags and /user/tags/{id}
...
An operation that is useful for tools to be able to do is to list a
user's tags without having to pull down the entire user object (which is
likely significantly larger than the tags). This commit adds a route to
GET /user/tags, to get a list of the user's tags, as well as a GET
/user/tags/{id} to get the details of a particular tag.
This commit also includes tests for the two new routes.
2015-10-27 13:49:17 +11:00
Blade Barringer
09596c657b
Remove only form test
2015-10-26 17:34:29 -05:00
Blade Barringer
2790008937
Adjust error message to not point to a readme file that does not exist.
2015-10-26 17:27:08 -05:00
Blade Barringer
13bca6b9a9
Prevent class from being changed via PUT /user
2015-10-26 17:25:51 -05:00
Blade Barringer
c7b162271c
Adjust context title.
2015-10-26 17:13:21 -05:00
Blade Barringer
13fa14270d
Add additional check for stat change
2015-10-26 12:52:18 -05:00
Blade Barringer
f8d08b4195
Merge branch 'jeremyabbott-userputtests' into userput
2015-10-26 12:25:17 -05:00
Blade Barringer
6a6922bb3f
Add tests for protected paths
2015-10-26 12:24:02 -05:00
Jeremy Abbott
e4269723e1
Creates initial PUT /user test
...
Adds missing semi-colon to DELETE-user.test.js
2015-10-26 10:54:37 -05:00
Blade Barringer
0eac953170
Adjust stying of put test
2015-10-26 08:04:30 -05:00
Blade Barringer
cf7be0b7a3
Merge branch 'develop' into jeremyabbott-userputtests
2015-10-26 08:00:30 -05:00
Blade Barringer
04fbdaa107
Reinstate error code in resolve promise for api tests.
2015-10-26 07:53:51 -05:00
Jeremy Abbott
eeb14075bb
Creates initial PUT /user test
2015-10-25 22:58:10 -05:00
Jeremy Abbott
6b52a32265
Creates user-put file with stub test
2015-10-25 18:07:50 -05:00
Blade Barringer
01914523e1
Remove dependency on chai-shallow-deep-equal
2015-10-25 12:50:14 -05:00
Blade Barringer
b72c37301c
Update api tests readme
2015-10-25 11:34:45 -05:00
Blade Barringer
8e282738f5
Convert pending api tests to use promise syntax
2015-10-25 11:21:19 -05:00
Blade Barringer
f06d3cdffe
Convert remaining active api tests to use promises
2015-10-25 11:09:50 -05:00
Blade Barringer
12ce4b133d
Update GET groups route test to use promises.
2015-10-25 10:57:42 -05:00
Blade Barringer
177c81da81
Use promise syntax for Get groups id route test.
2015-10-25 10:43:34 -05:00
Blade Barringer
5961e02f5f
Use promise syntax in POST groups test.
2015-10-25 10:12:43 -05:00
Blade Barringer
a5c0bae273
Update POST group id tests.
2015-10-25 09:40:36 -05:00
Blade Barringer
f98c6b7192
Add chai-shallow-deep-equal plugin
2015-10-25 09:40:23 -05:00
Blade Barringer
96c77dad9c
Promisify join group route test
2015-10-25 09:02:22 -05:00
Blade Barringer
d370219142
Use promise syntax for leave groups route test.
2015-10-25 08:59:43 -05:00
Blade Barringer
a52b30b33c
Update group leaveMember test
2015-10-25 08:19:45 -05:00
Blade Barringer
27cb5881cd
Adjust delete route test to use promises
2015-10-25 08:16:21 -05:00
Blade Barringer
69d48cb98e
Adjust the get user integration test
2015-10-25 08:14:16 -05:00
Blade Barringer
600f56dae0
Convert status test to promise
2015-10-25 08:02:30 -05:00
Blade Barringer
661d070b56
Add additional tests for register route
2015-10-24 22:28:04 -05:00
Blade Barringer
b763aedd29
Change helper to reject only error message
2015-10-24 22:23:30 -05:00
Blade Barringer
26ccde6e10
Create guidelines for writing api tests
2015-10-23 17:31:29 -05:00
Blade Barringer
7ad2e6d1ff
Add comments to helper methods
2015-10-23 12:32:15 -05:00
Blade Barringer
27d9e60d0f
Update api legacy test readme
2015-10-22 20:05:31 -05:00
Blade Barringer
73b2208106
Port final groups test to new structure
2015-10-22 20:02:08 -05:00
Blade Barringer
3c8c4343ee
Move group tests to new test structure
2015-10-22 18:04:16 -05:00
Blade Barringer
e3234a54ce
Refactor get groups test to test all kinds of groups
2015-10-22 17:15:40 -05:00
Blade Barringer
9a79870b93
Change convention for naming tests
2015-10-22 12:53:48 -05:00
Blade Barringer
c4402b2634
Port removeMember tests to new test format
2015-10-22 12:48:45 -05:00
Blade Barringer
abf4b1c643
Fix bug where tests were failing erroneously
2015-10-22 12:46:54 -05:00