aboutsummaryrefslogtreecommitdiffstats
path: root/test/InjectorSpec.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-06 14:15:41 -0800
committerIgor Minar2012-03-08 11:06:14 -0800
commitaf21233820ea48a093deb6f3e17fc4971701a741 (patch)
treeb746a6cfa6b95e5f1d733a9b1f38b49e69044d34 /test/InjectorSpec.js
parent08ad4b6a46b714008ff779728a73a168b62510ce (diff)
downloadangular.js-af21233820ea48a093deb6f3e17fc4971701a741.tar.bz2
fix(test): rename an it so that it doesn't colide with the test above
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');