Commit graph

105 commits

Author SHA1 Message Date
NotGonnaGitUs
168d72fb0a Removed a function call in hopes of correct updation of challenge variable 2015-05-04 18:16:02 +05:30
NotGonnaGitUs
079df668ce Changed test to fix reference errors. 2015-05-04 17:59:12 +05:30
NotGonnaGitUs
b360acd072 Fixed callback error in challenge creation test. 2015-05-04 17:49:07 +05:30
NotGonnaGitUs
f46a7eb1ba Changed creation test to use variables so that deletion test can run. 2015-05-04 17:19:54 +05:30
NotGonnaGitUs
8c562e8e18 Added test for challenge deletion. 2015-05-04 17:06:34 +05:30
NotGonnaGitUs
13415ecf03 Modified test to exclude finding challenge later and find user again. 2015-05-04 16:49:04 +05:30
NotGonnaGitUs
fafb102530 Is it async causing test to fail? Trying to make waterfall work. 2015-05-04 16:36:20 +05:30
NotGonnaGitUs
d69f217d24 Fixed typo. 2015-05-04 16:25:23 +05:30
NotGonnaGitUs
bb121df881 Fixed indentation error. 2015-05-04 16:17:56 +05:30
NotGonnaGitUs
8fae71d7ef Updated test to see if it works 2015-05-04 16:07:16 +05:30
NotGonnaGitUs
19c2ae415f Trying out new test to check user balance after creating a challenge with prize. 2015-05-04 15:35:45 +05:30
Blade Barringer
b027e2c407 Corrected port and db to use 2015-04-13 17:22:24 -05:00
Blade Barringer
730ac4b3df correct chat api tests; prevent sending a blank message via the api 2015-04-10 18:27:58 -05:00
Kevin Gisi
5c7c986a1f Merge branch 'todo-tests-start' into blade_todo_and_chat_tests 2015-03-27 08:42:47 -04:00
Blade Barringer
80778cbd7c Added additional deletion test 2015-03-27 08:38:05 -04:00
Blade Barringer
4707ba793e Added some basic tests for todo creating, updating and deleting 2015-03-27 08:38:05 -04:00
Blade Barringer
a9232156ef Checks to see if user id and username match chat 2015-03-27 08:33:15 -04:00
Blade Barringer
c5de07d33e Removed deeply eql check for number comparison 2015-03-27 08:33:15 -04:00
Blade Barringer
3c741f431a Deleted extraneous line breaks 2015-03-27 08:33:14 -04:00
Blade Barringer
9be08ad143 Added additional tests for chat functions in api 2015-03-27 08:33:14 -04:00
Kevin Gisi
b894ae8af0 Remove comments about broken user registering in API tests 2015-03-26 17:57:58 -04:00
Kevin Gisi
17c7e199bd Fix some of the formatting changes - was accidentally testing against a newer version of coffeescript 2015-03-26 17:57:58 -04:00
Kevin Gisi
63fea58d08 Repair most Mocha API specs 2015-03-26 17:57:57 -04:00
Blade Barringer
6f8133d760 Corrected indentation of purchase test 2015-03-07 16:23:56 -06:00
blade
35f98993c4 Skipping groups test in api for now, revisit later 2015-03-07 16:09:56 -06:00
Nick Tomlin
dccf95a3c2 Fix nconf path in api test 2015-03-04 20:55:09 -06:00
Blade Barringer
c66966139b Fixed typo in comment 2015-03-04 20:55:09 -06:00
Blade Barringer
4de6ce0331 Wrote todo about what is wrong with the registerNewUser function 2015-03-04 20:55:08 -06:00
Blade Barringer
735aa59851 Updated request call to use correct form 2015-03-04 20:55:08 -06:00
Blade Barringer
e6e212d436 Added todo for area where test is failing to behave properly 2015-03-04 20:55:08 -06:00
Blade Barringer
c26aceb17a Used a numTasks variable and added comments 2015-03-04 20:55:08 -06:00
Blade Barringer
66ac773ce9 Added comment about expect 2015-03-04 20:55:08 -06:00
Blade Barringer
7200f3a1d2 Wrote a todo for test 2015-03-04 20:55:08 -06:00
Blade Barringer
e8be1524fc Removed the create a new user function call from groups, as it was now using the correct user to look up the leader 2015-03-04 20:52:05 -06:00
Blade Barringer
ab27dd405c Changed challenges completed count to calculate from total number of user tasks minus 2 (the two completed) 2015-03-04 20:52:05 -06:00
Blade Barringer
0716177d41 Corrected tests for archiving todos to reflect the correct number of default todos when creating account. 2015-03-04 20:52:05 -06:00
Blade Barringer
cac788e7db djusted paths 2015-02-03 21:43:10 -06:00
Blade Barringer
08ab6eba71 Converted shared to common in api test 2015-01-25 15:54:19 -06:00
Blade Barringer
95951a4706 Updated moment calls to use number, period to fix the deprecation error 2014-12-19 19:41:22 -06:00
benmanley
50b1cba0a6 refactor(tasks) improve UI consistency
* Round corners for UI elements / “8-bit” outlines for RPG elements.
* Tag bar – Make it clearer that “Tags” is a heading, not an option
* Task filters – restyle in line with tag bar + nav menu
2014-11-27 10:32:57 +00:00
Matteo Pagliazzi
704a8658f3 require moment where necessary 2014-10-03 19:38:18 +02:00
Tyler Renelle
6253404677 tests(api.mocha): move bac to coffeescript from javascript 2014-09-07 17:06:24 -06:00
Andrew Bloomgarden
c9e3b37ff8 Rewrite API tests in normal JS. 2014-01-15 21:34:36 -08:00
Tyler Renelle
a326072858 start adding quests tests 2014-01-05 15:08:10 -07:00
Tyler Renelle
e474278ab3 groups: upon group-creation, creator is automatically assigned as leader
and only member. Remove sending up leader & members from the client,
should all be handled on the server
2014-01-05 15:08:10 -07: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