aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVojta Jina2012-01-30 11:44:19 -0800
committerVojta Jina2012-01-30 11:44:19 -0800
commit6c4f1391bc10ebfd76bb39d3cb7f7b3b3bff4dd5 (patch)
treeea852df262599a430cf78b16430cabf485e69180 /test
parent58d6da556a89d4d576a40164765dc42dbbfa4aad (diff)
downloadangular.js-6c4f1391bc10ebfd76bb39d3cb7f7b3b3bff4dd5.tar.bz2
refactor(test): remove odd inject from describe
Diffstat (limited to 'test')
-rw-r--r--test/widgetsSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js
index 53766274..4cad31ad 100644
--- a/test/widgetsSpec.js
+++ b/test/widgetsSpec.js
@@ -7,7 +7,7 @@ describe('widget', function() {
dealoc(element);
});
- describe('ng:switch', inject(function($rootScope, $compile) {
+ describe('ng:switch', function() {
it('should switch on value change', inject(function($rootScope, $compile) {
element = $compile(
'<ng:switch on="select">' +
@@ -58,7 +58,7 @@ describe('widget', function() {
expect($rootScope.name).toEqual(undefined);
expect(element.text()).toEqual('works');
}));
- }));
+ });
describe('ng:include', function() {