Dušan Juretić
|
24815af9c1
|
Added inventoryCtrl tests for hatching and selling
|
2014-01-04 00:02:51 -03:00 |
|
Dušan Juretić
|
d58568c9d8
|
Fix AuthCtrl tests with proper asserts
|
2014-01-03 23:28:43 -03:00 |
|
Tyler Renelle
|
9a6f0c0339
|
challenges: don't remove To-Dos that are part of a challenge when
clearing completed
|
2014-01-03 14:18:53 -07:00 |
|
Tyler Renelle
|
c9e083b602
|
challenges: add "official habitrpg challenge" option
|
2014-01-03 13:36:13 -07:00 |
|
Tyler Renelle
|
abd300199a
|
challenges: allow members to override challenge.tasks.notes, and sycning
challenge won't update those notes.
|
2014-01-03 13:10:56 -07:00 |
|
Tyler Renelle
|
6d8e4ed8a2
|
tests: api.mocha.coffee cleanup WIP
|
2014-01-03 10:26:46 -07:00 |
|
Tyler Renelle
|
2c1eb955ac
|
fix #1954 . Start updating API tests, beginning with challenges. Use
test to fix "challenge updates not updating users' tasks"
|
2014-01-03 00:01:24 -07:00 |
|
Dušan Juretić
|
ae080fd474
|
Tests for inventoryCtrl
|
2014-01-02 22:49:31 -03:00 |
|
Dušan Juretić
|
803a45b47f
|
Test server port changed to 3001
|
2014-01-01 14:01:51 -03:00 |
|
Dušan Juretić
|
431622ce14
|
E2e tests: launch Selenium and node server and kill them after finishing the tests, using a test database
|
2014-01-01 14:01:51 -03:00 |
|
Dušan Juretić
|
69c4977511
|
Fix again e2e test
|
2014-01-01 14:01:51 -03:00 |
|
Dušan Juretić
|
c572a195aa
|
Take screenshot of failed e2e tests
|
2014-01-01 14:01:51 -03:00 |
|
Dušan Juretić
|
87e7b2ead6
|
Fix build by giving more time to Protractor
|
2014-01-01 14:01:51 -03:00 |
|
Dušan Juretić
|
a6443bceb8
|
Fix build
|
2014-01-01 14:01:51 -03:00 |
|
Dušan Juretić
|
91b0f3fb96
|
E2e testing: added tests for failed login and register new user
|
2014-01-01 14:01:51 -03:00 |
|
Dušan Juretić
|
462bc416de
|
Starting e2e testing
|
2014-01-01 14:01:23 -03:00 |
|
Dušan Juretić
|
6ab10f9f3d
|
Fix unit tests
|
2013-12-23 22:38:15 -03:00 |
|
Dušan Juretić
|
9f32d3e7b8
|
Fix userServicesSpecs by adding notificationServices
|
2013-12-15 16:49:53 -03:00 |
|
Dušan Juretić
|
34ea6038f1
|
add single test for notificationServices
|
2013-11-15 22:42:30 -03:00 |
|
Dušan Juretić
|
2f5025e322
|
add tests for groupServices
|
2013-11-15 22:42:30 -03:00 |
|
Dušan Juretić
|
f4ac5dfe8c
|
fix unit tests
|
2013-10-31 22:35:35 -03:00 |
|
Dušan Juretić
|
bb4350fb52
|
add tests for memberServices
|
2013-10-19 23:33:27 -03:00 |
|
Dušan Juretić
|
6830a9281d
|
add tests for userServices, changed alert to $window.alert in userServices
|
2013-10-13 19:01:46 -03:00 |
|
Dušan Juretić
|
89b4d2ece0
|
authCtrl tests now working, replaced window for $window
|
2013-10-12 22:46:13 -03:00 |
|
Tyler Renelle
|
c54c383c5a
|
[#1534] add some more starter test code, still no tests
|
2013-09-13 21:19:02 -04:00 |
|
Tyler Renelle
|
449ea620af
|
mongoose WIP: use mongoose in API routes, instead of Racer. Add mongoose middleware to perform proper Derby <-> API transformations. some safe-guarding of PUT /user paths, send error messages if they're using the old way. remove task deletion & addition from PUT /user
|
2013-08-24 18:52:29 -04:00 |
|
Tyler Renelle
|
319c2667d7
|
some sloppy mocha tests for corrupt task handling
|
2013-08-15 00:28:27 -04:00 |
|
Tyler Renelle
|
0d83ac09fc
|
api; on batch-update, override res.send & res.json to call the series
callback instead, and simply skip error paths. we need to send down the
error eventually
|
2013-08-14 21:50:17 -04:00 |
|
Tyler Renelle
|
66bdd3616e
|
API utility sendResult function, new POST /api/v1/register route to register new uname/pass users (i'm thinking about nixing facebook altogether in the future)
|
2013-08-14 19:35:14 -04:00 |
|
Tyler Renelle
|
2252bebf9b
|
set mocha timeout to 4s
|
2013-08-14 09:42:25 -04:00 |
|
Tyler Renelle
|
d17bd6fe90
|
api: export all of api to functions, called by route. This way we can have our /batch-update route access the api functions
|
2013-08-11 00:47:40 -04:00 |
|
Tyler Renelle
|
e667b3a2b0
|
start adding v2 api tests (nothing here yet)
|
2013-08-08 14:04:07 -04:00 |
|
Tyler Renelle
|
8e922bb151
|
API: add facebook auth route
|
2013-07-12 17:15:11 -04:00 |
|
Tyler Renelle
|
704a056c47
|
Merge remote-tracking branch 'switz/api-authentication' into develop
Conflicts:
src/server/api.coffee
test/api.mocha.coffee
|
2013-07-12 16:36:12 -04:00 |
|
Tyler Renelle
|
f0c50e1cfe
|
fix api + tests
|
2013-05-25 19:42:59 +01:00 |
|
Tyler Renelle
|
955c2841ea
|
tests: get rid of user.mocha.coffee, now it's in habitrpg-shared
|
2013-05-25 18:29:42 +01:00 |
|
Tyler Renelle
|
62c9e45e2e
|
habitrpg-shared: use newUser from shared helpers instead of in character.coffee
|
2013-05-24 11:34:17 +01:00 |
|
Tyler Renelle
|
32cf11b533
|
use lodash in tests for consistency
|
2013-05-23 17:34:27 +01:00 |
|
Daniel Saewitz
|
3680900577
|
API Auth working + 1 test
|
2013-04-21 11:53:36 -04:00 |
|
Tyler Renelle
|
88d2eee519
|
start adding tests for user.put
|
2013-04-12 16:38:07 -04:00 |
|
Rob Scanlon
|
4958690bcb
|
update a test to check for undefined value when making new habit
|
2013-04-04 18:09:06 -04:00 |
|
yangit
|
6369e8e9c0
|
using eval tests
|
2013-04-02 22:08:16 +08:00 |
|
yangit
|
032564334c
|
using eval tests2
|
2013-04-02 22:05:36 +08:00 |
|
yangit
|
8a6fede4fe
|
using eval tests2
|
2013-04-02 21:47:37 +08:00 |
|
yangit
|
c9112feaf7
|
using eval tests
|
2013-04-02 21:30:53 +08:00 |
|
yangit
|
2570e5e134
|
stats tests ok
tests splitted into files
add.items tests fail
|
2013-04-01 22:43:26 +08:00 |
|
Tyler Renelle
|
381bd6e9ec
|
Merge pull request #707 from switz/api-4
@lefnire => Array API
|
2013-03-22 13:59:49 -07:00 |
|
Tyler Renelle
|
2a89ba62c8
|
Merge pull request #706 from switz/api-3
Mark todos and dailies as completed via api
|
2013-03-22 13:59:39 -07:00 |
|
Daniel Saewitz
|
355dde07f4
|
Array to /user/tasks
|
2013-03-22 16:52:33 -04:00 |
|
Daniel Saewitz
|
b56bc6b1d9
|
Mark todos and dailies as completed via api
|
2013-03-22 16:01:40 -04:00 |
|