aboutsummaryrefslogtreecommitdiffstats
path: root/test/InjectorSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/InjectorSpec.js')
-rw-r--r--test/InjectorSpec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/InjectorSpec.js b/test/InjectorSpec.js
index 2ea5b66d..87373228 100644
--- a/test/InjectorSpec.js
+++ b/test/InjectorSpec.js
@@ -649,7 +649,8 @@ describe('injector', function() {
});
- it('should instantiate object and preserve constructor property and be instanceof', function() {
+ it('should instantiate object and preserve constructor property and be instanceof ' +
+ 'with the array annotated type', function() {
var t = $injector.instantiate(['book', 'author', Type]);
expect(t.book).toEqual('moby');
expect(t.author).toEqual('melville');