Create injector for each test

This commit is contained in:
Vit Brunner
2014-12-21 23:04:44 +01:00
parent e0a45f08a5
commit 656cfe1a58
8 changed files with 8 additions and 7 deletions
@@ -2,7 +2,7 @@ factory = {}
module "reader factory", {
setup: () ->
factory = injector.get "readerFactory"
factory = getInjector().get 'readerFactory'
}
test "reads markdown", () ->