Commit Graph

18 Commits

Author SHA1 Message Date
c6986e3677 move constants to lib root 2016-07-11 15:48:04 -07:00
79358a76dd create a mock queue 2016-07-08 18:34:58 -07:00
e0605796a1 fix inconcistent constants use 2016-06-06 14:50:06 -07:00
9ab3bb048e update tests and fixture 2016-05-19 14:12:01 -07:00
be1eb81059 make the mock client get method async
and update worker tests to use async value
2016-05-16 15:03:20 -07:00
8d21dc6967 add optional created_by record to the doc 2016-05-16 15:02:34 -07:00
609e81fdef distiguish the doctype from the jobtype
update tests and mock elasticsearch client
2016-05-12 12:20:49 -07:00
a4323433f2 remove use of var 2016-05-11 10:58:21 -07:00
b2781a6ccf client.get: mix in source data, fix default index and type params 2016-04-29 17:52:24 -07:00
683903512b fix mock defaults 2016-04-29 16:52:35 -07:00
1954141345 mock es client search and update 2016-04-28 16:14:39 -07:00
b0f2264ab8 add search method to elasticsearch mock 2016-04-25 16:32:38 -07:00
576f26a4b9 allow id to be passed to mock elasticsearch index 2016-04-25 14:43:53 -07:00
a4bfd5184d add get method to Client, add errors to mock 2016-04-25 14:19:48 -07:00
f120d84367 add indices.exists to es client mock 2016-04-22 17:48:35 -07:00
1171c5f0f1 expand the es client fixture 2016-04-22 16:49:19 -07:00
22d9ffcefe better elasticsearch client fixture 2016-04-18 16:34:03 -07:00
822019f12a change test structure, create elasticsearch fixture 2016-04-15 16:51:38 -07:00