Blade Barringer
b4c4b891a1
Moved sandbox.js to mocks directory
2015-06-21 20:02:48 -05:00
Blade Barringer
944cef4d44
Switch over to using sinon.sandbox in karma specs
2015-06-20 14:48:38 -05:00
Blade Barringer
4da3018ad9
Simplify editTask
2015-06-17 07:51:07 -05:00
Blade Barringer
e422ea065f
Reword tests
2015-06-16 23:16:11 -05:00
Blade Barringer
3ab27f32d2
Refactored editTask into TaskService
2015-06-16 23:11:04 -05:00
Blade Barringer
3457068351
Cleaned up location of test files
2015-06-13 21:11:43 -05:00
Blade Barringer
6513527d8b
Refactor challenges filter
2015-06-13 19:41:41 -05:00
Blade Barringer
ddb28c0305
Merge branch 'develop' into TheHollidayInn-challenges-owner-filter
2015-06-13 18:23:51 -05:00
Blade Barringer
8faf96f5b9
Refactored filters
2015-06-13 12:39:11 -05:00
Blade Barringer
719907189f
Organized spec folder
2015-06-13 09:58:08 -05:00
Blade Barringer
2f1111522c
Adjust PR #5389
...
* Convert $watch to ng-change and re-wrote test
* Removed unnecessary styles
* Use .form-control instead of class='form-control'
2015-06-12 09:05:06 -05:00
Jiri Chara
2c52829256
Implement filter tasks by text & notes
...
In order to be able to filter tasks by it's text or notes - we need an
extra filter to be implemented, because angular does not support OR
condition for it's default filter directive.
2015-06-11 20:39:29 +02:00
Jiri Chara
df7d36923c
Enable filtering for tasks and custom rewards
...
Add search input box next to the tags. When user changes the value of
the input box then it's propagated to the user service as filterQuery
string. filterQuery string is then used in the tasks template to filter
tasks by text.
2015-06-11 09:10:31 +02:00
Blade Barringer
dabb6244e7
Merge pull request #5370 from gisikw/split-out-directives
...
Split out Angular directives
2015-06-09 07:42:12 -05:00
Blade Barringer
74112fd66d
Test automatic refresh
2015-06-09 07:02:15 -05:00
Kevin Gisi
9cc4993fb3
Refactor focus-me spec to use an assertion
2015-06-08 23:21:55 -04:00
Kevin Gisi
8171209ab1
Add some directive specs
2015-06-08 10:02:45 -04:00
Kevin Gisi
f95eaa736a
Add first directive spec
2015-06-08 10:02:45 -04:00
Blade Barringer
8f744b043a
Add gear owned to spec helper
2015-06-05 08:59:45 -05:00
Blade Barringer
865f7651a9
Merge branch 'TheHollidayInn-invite-friends-in-header' into develop
2015-06-04 08:54:04 -05:00
Blade Barringer
7a1c5835d0
Final adjustments to PR #5114
...
* Added test for header ctrl
* Made openModal function more readable
* Only show setting to disable invite friends if party is exactly 1 member big
* Use party.memberCount instead of party.members.length because it's more expressive
2015-06-04 08:48:05 -05:00
Blade Barringer
7a157fabb2
Finish tests for castEnd
2015-06-02 17:32:44 -05:00
Nick Tomlin
88e1ec690a
Start tests for rootScope castEnd
2015-06-02 13:04:59 -05:00
Blade Barringer
ca31b490e6
Add missing semicolons and s's
2015-06-02 08:43:10 -05:00
Blade Barringer
24c299783a
Merge branch 'TheHollidayInn-markdown-for-spells' into develop
2015-06-02 07:58:29 -05:00
Blade Barringer
b375c068de
Refactor notification service and add tests
2015-06-02 07:51:54 -05:00
Blade Barringer
39f363ec29
Add tests for castEnd on root controller
2015-06-01 17:38:18 -05:00
Blade Barringer
6fb100874c
Added mixpanel mock to make karma tests happy
2015-05-30 23:29:52 -05:00
Blade Barringer
8569f7b749
Merge branch 'joyclark-autocomplete-click-behavior' into develop
2015-05-08 08:45:06 -05:00
Blade Barringer
efa193b262
Refactor test
2015-05-08 08:44:50 -05:00
Joy Clark
4450a5d7c3
Fixes #5094 Now show list based on whether or not a search query is defined. The autocomplete function from the directive is encapsulated so that it can be called and then the query can be set to null.
2015-05-03 18:14:28 +02:00
Negue
c3b09d8cce
test 2nd argument for openModal
2015-05-01 13:55:33 +02:00
Blade Barringer
fbc1a9ae86
Add two unit tests for copyToDo PR
2015-04-30 08:53:14 -05:00
Blade Barringer
0d18738ceb
Correct phrasing of test
2015-04-29 08:47:47 -05:00
Blade Barringer
78249122f7
Ignore casing when searching for user name in autocomplete
2015-04-29 08:21:13 -05:00
Blade Barringer
41763d3b78
Add missing semi-colons
2015-04-29 08:05:08 -05:00
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
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