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
+1 -1
View File
@@ -2,7 +2,7 @@ reader = {}
module "json reader", {
setup: () ->
reader = injector.get "jsonReader"
reader = getInjector().get 'jsonReader'
}
test "loads poem", () ->