Commit Graph

994 Commits

Author SHA1 Message Date
Blade Barringer
78cdc1753f tests(api): Add test for registering with an invalid email 2015-11-21 13:52:09 -06:00
Blade Barringer
49e7799baa tests(api): clean up code style of test file 2015-11-21 13:51:31 -06:00
Blade Barringer
ade764acbd tests(helper): Allow route to register user to be variable based on api version. 2015-11-21 13:45:46 -06:00
Blade Barringer
4f6b765923 Merge branch 'api-v3' into api-v3-user 2015-11-21 09:43:58 -06:00
Blade Barringer
4dee29a20b tests(fix): Correct path to i18n.js module 2015-11-21 09:42:40 -06:00
Blade Barringer
a54db44406 Merge branch 'api-v3' into api-v3-user 2015-11-21 09:20:44 -06:00
Blade Barringer
b3e9872f59 tests: Adjust integration helper to display server errors for each API. 2015-11-21 09:20:08 -06:00
Blade Barringer
85a08f881b chore(lint): Correct linting errors in test files. 2015-11-21 09:19:48 -06:00
Matteo Pagliazzi
5c33a404fb handle mongoose validation errors, fix bug in import and add more tests for errors 2015-11-21 15:00:31 +01:00
Matteo Pagliazzi
afbfbdd01c fix mongoose promise, some user validation, tests urls 2015-11-21 14:27:24 +01:00
Matteo Pagliazzi
3608742e20 fix bugs on user controller 2015-11-21 12:26:48 +01:00
Matteo Pagliazzi
444aff7d33 Merge branch 'api-v3' into api-v3-user 2015-11-21 12:11:25 +01:00
Matteo Pagliazzi
4862cebdb7 Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2015-11-21 12:10:11 +01:00
Matteo Pagliazzi
041224b5ac fix merge conflicts 2015-11-21 12:09:40 +01:00
Matteo Pagliazzi
2f4e6e015a Merge branch 'api-v3-user' of github.com:HabitRPG/habitrpg into api-v3-user 2015-11-21 12:03:26 +01:00
Matteo Pagliazzi
7866f7393b clean up code, add deleteSocial method 2015-11-21 12:03:08 +01:00
Blade Barringer
07247033b2 test: Add integration test for POST user/register/local 2015-11-20 19:14:07 -06:00
Blade Barringer
776faddb34 (chore): lint test/common files 2015-11-19 20:27:39 -06:00
Matteo Pagliazzi
dd8c22584d req.t --> res.t 2015-11-19 12:17:44 +01:00
Matteo Pagliazzi
5c859ca52e add req.t in place of i18n.t passing req.language, begins implementing user signup 2015-11-18 22:04:36 +01:00
Blade Barringer
6991d5ab67 Correct reject block to include details about error 2015-11-18 13:01:56 -06:00
Blade Barringer
f95c6ef927 Move notFound api v3 test to integration folder. 2015-11-18 13:01:35 -06:00
Matteo Pagliazzi
2dfca76a5e Merge pull request #6256 from HabitRPG/api-v3-apidoc
API v3 - apidoc wip
2015-11-18 17:12:14 +01:00
Blade Barringer
627da76b49 Merge branch 'develop' into api-v3 2015-11-18 09:09:49 -06:00
Blade Barringer
eded44fea5 Adjust helper files for linting preferences. 2015-11-18 08:54:34 -06:00
Matteo Pagliazzi
3b633a87b9 try fixing the notFound test 2015-11-18 12:44:52 +01:00
Matteo Pagliazzi
65a8d2e255 misc fixes and improvements, starts adding route tests 2015-11-18 12:36:13 +01:00
Blade Barringer
08c4ec5557 Merge branch 'develop' into api-v3 2015-11-17 23:15:15 -06:00
Blade Barringer
f58b3eee64 Move special gear into own subdirectory 2015-11-17 17:06:00 -06:00
Matteo Pagliazzi
2a51117d21 comment errors according to apidoc, add new tests and fix existing ones 2015-11-17 19:22:47 +01:00
Matteo Pagliazzi
aa1b046cf2 add example apidoc comments, add notFound middleware 2015-11-17 16:48:50 +01:00
Blade Barringer
195b39561b Move contributor gear to own module 2015-11-17 09:01:38 -06:00
Blade Barringer
2bac9c3c17 Separate out backer gear into own module 2015-11-17 08:17:40 -06:00
Blade Barringer
e6a5d08150 Merge branch 'develop' into api-v3 2015-11-16 17:34:30 -06:00
Blade Barringer
639dfb31d7 Pull out gear into separate modules 2015-11-16 17:29:13 -06:00
Blade Barringer
dcca17fa4e Set up i18n in unit test helper. 2015-11-16 08:12:45 -06:00
Blade Barringer
9ec39a597e Set up i18n in test helpers 2015-11-16 08:07:28 -06:00
Blade Barringer
4ab2fafc5e Remove coffee files 2015-11-15 15:45:56 -06:00
Blade Barringer
6ba9027252 Switch out babel for babel-core 2015-11-15 15:15:52 -06:00
Blade Barringer
49fd6b9f5c Merge branch 'api-v3' of github.com:HabitRPG/habitrpg into api-v3 2015-11-15 14:59:57 -06:00
Blade Barringer
00055ad055 Merge branch 'develop' into api-v3 2015-11-15 14:57:41 -06:00
Matteo Pagliazzi
83eb2308fb Merge pull request #6232 from HabitRPG/api-v3-utils
[API v3] Port Utils
2015-11-15 20:01:48 +01:00
Blade Barringer
ea87910c2f Correct test path 2015-11-15 12:34:40 -06:00
Matteo Pagliazzi
78e5d913f5 update test to match possible html string 2015-11-15 17:27:22 +01:00
Blade Barringer
ea14326025 Adjust faq test 2015-11-15 10:18:10 -06:00
Blade Barringer
a127bb8711 Switch to babel-core form babel.
Babel includes the CLI, which we don't need.
2015-11-15 08:59:57 -06:00
Blade Barringer
037337d54f Remove extraneous anonymous function. 2015-11-15 08:24:42 -06:00
Blade Barringer
5be9b88cc6 Add babel compiler to mocha.opts 2015-11-15 08:24:19 -06:00
Blade Barringer
da881153b9 Convert coffee tests to js 2015-11-15 08:19:41 -06:00
Blade Barringer
c829eb21ed Removed unused mocha.opts 2015-11-14 21:50:47 -06:00