describe PlaylistMongoDriver test

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
need to be able to pass config for testing

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
the channel is called 'backend', we're passing duplicate data here

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
whitespace

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
setup db before testing

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
set up a mongo driver instance

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
setup from and to moments to test

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
test setBoundaries and message subscriptions

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
reset boundaries after each test

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
make sure there's a setBoundaries function

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
test setBoundaries takes two parameters

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
test setBoundaries takes a single {from:x, to: y} parameter

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
test that if I don't pass {from: x} it assumes it

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
test it transforms Dates into moments

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
setup pubsub to test messaging

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
this suite has a longer timeout to account for mubsub delays

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
test create messages

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
test update messages

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
test remove messages

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
clean up test db after tests

Signed-off-by: Tomas Neme <lacrymology@gmail.com>