Commit Graph

80 Commits

Author SHA1 Message Date
Blade Barringer 1f4e58e5cc tests(api): Port integration helper to v3 version for groups tests 2016-01-13 12:39:23 -06:00
Blade Barringer 799b3780b1 Merge branch 'api-v3' into api-v3-groups 2016-01-13 12:32:48 -06:00
Blade Barringer b68861681c tests(integration): Create separate helper for api integration tests 2016-01-13 12:32:36 -06:00
Blade Barringer 7cf43680e6 Merge branch 'api-v3' into api-v3-groups 2015-12-31 12:22:20 -06:00
Blade Barringer aa6f5fff23 Merge branch 'develop' into api-v3 2015-12-31 12:17:57 -06:00
Blade Barringer 108f90b0bf tests(api): Add update method for api user 2015-12-31 12:15:57 -06:00
Blade Barringer cd9fe5f1b6 Merge branch 'api-v3' into api-v3-groups 2015-12-30 08:30:43 -06:00
Blade Barringer eab15a3dd0 tests(api): Port over new integration helper from develop 2015-12-30 07:57:41 -06:00
Blade Barringer 802bb93b6c tests(api): Update integration helper in v2 to v3 changes 2015-12-29 20:37:29 -06:00
Blade Barringer 4c74c9949c Correct linting error 2015-12-29 17:43:11 -06:00
Blade Barringer b2336c7adf tests(api): Add http methods to user object that is returned form generateUser 2015-12-29 17:34:11 -06:00
Matteo Pagliazzi 8b79f74e54 fix tests 2015-12-19 18:23:13 +01:00
Matteo Pagliazzi 3e87c8d3e9 fix some tests 2015-12-19 18:07:39 +01:00
Matteo Pagliazzi 18c49493e0 fixes tests 2015-12-17 16:27:17 +01:00
Matteo Pagliazzi 2e5c7df94f Merge pull request #6343 from HabitRPG/api-v3-tasks2
[API v3] Tasks 2
2015-12-16 13:18:05 +01:00
Matteo Pagliazzi 9864b8a1cb tests for tags 2015-12-14 21:56:09 +01:00
Blade Barringer f4af7309cb tests(helpers): Fix local doc update 2015-12-14 08:59:41 -06:00
Blade Barringer 65bb655a10 Merge branch 'develop' into api-v3 2015-12-13 16:39:59 -06:00
Blade Barringer e82085ac1b tests(helpers): Add common helpers for generating tasks 2015-12-13 16:22:58 -06:00
Blade Barringer 70751abe01 tests(helpers): Add helper to generate user for common and content tests 2015-12-13 10:40:00 -06:00
Matteo Pagliazzi 4a941deece remove success field from json responses 2015-11-23 21:04:21 +01:00
Matteo Pagliazzi 349122c9a1 add res.respond, fix linting 2015-11-23 13:01:47 +01: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 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
Blade Barringer 6991d5ab67 Correct reject block to include details about error 2015-11-18 13:01:56 -06: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
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 6ba9027252 Switch out babel for babel-core 2015-11-15 15:15:52 -06:00
Blade Barringer 810a818334 Add headers to req generator and unpend failing test. 2015-11-13 09:36:18 -06:00
Blade Barringer be672e570c Merge branch 'api-v3' into api-v3-i18n 2015-11-13 07:44:48 -06:00
Blade Barringer 6e8e1648d9 Merge branch 'develop' into api-v3 2015-11-13 07:38:24 -06:00
Matteo Pagliazzi de21b72027 move old i18n version to api-v2 folder and use new i18n where possible 2015-11-12 16:43:02 +01:00
Blade Barringer 3a13a5ee2c Remove unneeded coffeescript requires in tests. 2015-11-11 20:32:17 -06:00
Blade Barringer c91c3f78ed Remove lodash.defaultsDeep dependency 2015-11-11 06:44:45 -06:00
Blade Barringer c8ee1eaaec Add support for passing in custom env file to nconf. 2015-11-09 18:41:04 -06:00
Blade Barringer 851631e465 Fix build errors 2015-11-09 08:19:24 -06:00
Blade Barringer 9451e7239b Add nconf setup to unit test helper 2015-11-08 09:01:25 -06:00
Blade Barringer 3559be0f83 Use toObject instead of _doc 2015-11-07 09:42:57 -06:00
Blade Barringer 1eadceea3d Add status to default res 2015-11-07 09:25:43 -06:00
Blade Barringer e657a30320 Add next generator for easier controller testing. 2015-11-07 08:32:02 -06:00
Blade Barringer 94dbb25fa6 Add unit helper 2015-11-06 21:28:47 -06:00
Blade Barringer 6e344ce04b Add sandbox as a global 2015-11-06 21:28:31 -06:00
Blade Barringer 303b88b6fa Adjust api tests 2015-11-06 21:28:19 -06:00
Blade Barringer aaa4a7da12 Add sinon to helpers 2015-11-04 20:45:51 -06:00
Blade Barringer 8618716ca4 Update requester to take in additional set parameters. 2015-11-04 17:40:10 -06:00
Blade Barringer 8c95de0835 Move api tests to v2 namespace 2015-11-03 08:31:20 -06:00
Matteo Pagliazzi ed0e4c6d20 Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other \
for the upcoming api v3

Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other for the upcoming api v3

move api v2 routes in a separate folder, rename apiv1 file for better readability, remove auth routes for api v1

move api-v2 controllers in subdirectory

move unorganized files to /libs

fix gulp requires and separate server in old (api v1 and v2) and new (api v3) app

fix require paths

fix require paths

fix require paths

put api v1 back

Reorganize files under /src and separate express app in one for api v1 and v2 and the other for v3
2015-11-02 17:43:32 +01:00