Commit Graph

3072 Commits

Author SHA1 Message Date
Blade Barringer
3a12b5644c Remove out of date comments 2015-04-29 07:57:54 -05:00
Blade Barringer
6e35c45d5f Merge branch 'develop' of github.com:HabitRPG/habitrpg into joyclark-autocomplete_unit_tests 2015-04-29 07:50:33 -05:00
Joy Clark
df1c349ea7 Fixing #5706 filtering system messages results in errors. 2015-04-27 23:01:15 +02:00
Joy Clark
df91592438 fixing unit tests 2015-04-27 22:55:22 +02:00
Joy Clark
61c9d35215 Merge branch 'chat_match_users' into autocomplete_unit_tests 2015-04-27 22:50:30 +02:00
hairlessbear
2d9707bd39 Added dailies[0].history check and changed array check to' empty' 2015-04-27 13:41:58 -04:00
hairlessbear
7ac2c0c0c4 Made test name more descriptive and added HP expects 2015-04-27 10:49:57 -04:00
hairlessbear
5693386b12 Fixed tests 2015-04-27 00:42:55 -04:00
hairlessbear
4b980c78a1 Made tests more descriptive 2015-04-26 22:49:05 -04:00
hairlessbear
53ff109680 Added tests for Inn functionality 2015-04-26 19:07:11 -04:00
Joy Clark
f181787e8b added some unit tests to test the autocomplete controller 2015-04-26 21:38:46 +02:00
Joy Clark
f214428411 Improved filter function as described in #5085 and added unit tests. 2015-04-26 17:50:53 +02:00
Blade Barringer
2f4fc8fb88 Put isMemberOfGroup in its own describe block 2015-04-25 17:32:46 -05:00
Blade Barringer
ce4535594c refactor joyclark's test 2015-04-25 17:31:40 -05:00
Joy Clark
913afc8f39 #5085 restructured unit tests for AutocompleteCtrl 2015-04-25 23:22:39 +02:00
Joy Clark
3458815f28 #5085 added some unit tests. 2015-04-25 23:08:28 +02:00
Kevin Gisi
65e42345f2 Ensure correct join/leave button for parties 2015-04-24 11:54:00 -04:00
TheHollidayInn
6f8d80dcac Split challenge filter test into multiple tests 2015-04-23 14:27:41 -05:00
TheHollidayInn
ad2ad70421 Updated comments and removed extra console.log 2015-04-23 08:58:40 -05:00
TheHollidayInn
f3f1bd4d8e Andded together filters and created tests for challenge filtering 2015-04-23 00:33:31 -05:00
Alys
7c36e49243 Merge pull request #5022 from gisikw/dated-tasks-correct-impl
Dated tasks correct impl
2015-04-22 16:56:03 +10:00
Blade Barringer
1d95784dde refactor isMemberOfGroup and tests 2015-04-16 07:58:35 -05:00
Blade Barringer
4853c0814d Corrected function 2015-04-16 07:39:55 -05:00
Blade Barringer
5ef4b7b395 Add tests for isMemberOf 2015-04-16 07:32:56 -05:00
Blade Barringer
83858da25e Change button to be more specific 2015-04-14 08:11:39 -05:00
Blade Barringer
b027e2c407 Corrected port and db to use 2015-04-13 17:22:24 -05:00
Kevin Gisi
b503a0fd64 Repaired task reordering issue
* Created `conditionalOrderBy` filter with a similar signature to `orderBy`,
  using a single conditional argument that when false, causes the filter to
  return the array unchanged

* Updated task view to use `conditionalOrderBy`

* Added karma specs for `conditionalOrderBy` filter
2015-04-13 08:51:08 -04:00
Blade Barringer
f7d30dbc86 Remove only block on karma test 2015-04-11 00:01:39 -05:00
Blade Barringer
5f8477ff10 Merge pull request #5005 from crookedneighbor/hall_of_heroes_quick_click
Made uuid in hall of heroes populate the input box
2015-04-10 23:56:34 -05:00
Blade Barringer
8642366f15 scroll to top and load hero; add tests for new behavior. 2015-04-10 23:51:34 -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
Blade Barringer
24ef3aa012 Made uuid in hall of heroes populate the input box 2015-04-09 21:57:06 -05:00
Kevin Gisi
205e26883e Provisional commit of revised test manager and protractor version, pending a Travis run 2015-04-04 21:35:16 -04:00
Kevin Gisi
35866568da Repair broken e2e test by changes in copy and IDs
* Switch the "Play" button to check for "Play HabitRPG"

* Change "#register-tab" selector to use "#registrationForm"

* Increase delay when only running protractor specs, to ensure the server has
  time to spin up
2015-04-03 21:14:22 -04:00
John Montgomery
c2e2122efd Forgot to change part of the new tag test. 2015-03-30 22:37:26 -04:00
John Montgomery
c22acb81a8 Updates new tag code and test spec for new tags. 2015-03-30 22:07:02 -04: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
97323eaf23 Marked some tests as pending, after rebase 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
Kevin Gisi
bcd3d9a0b7 Add Mocha specs for common back into the test suite 2015-03-26 17:57:57 -04:00
Kevin Gisi
7bed1efb21 Revised Grunt translations task to use build:test
* Added build:test task to generate translation JS for tests.

* Removed test/spec/translations.js from the repository, added to .gitignore.

* Updated test/run_tests.sh to run build:test, and accept an optional argument
  to run a particular test suite.
2015-03-24 21:39:03 -04:00
Kevin Gisi
1e59336d09 Repair remaining Karma specs - all passing.
* Stubbed out User module to repair rootCtrlSpec

* Loaded RootCtrl in inventoryCtrlSpec, as it was missing shared functions.
  Updated mock user to include a mounts hash.
2015-03-24 21:39:03 -04:00