diff options
| author | Vojta Jina | 2012-01-30 11:44:19 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-01-30 11:44:19 -0800 |
| commit | 6c4f1391bc10ebfd76bb39d3cb7f7b3b3bff4dd5 (patch) | |
| tree | ea852df262599a430cf78b16430cabf485e69180 /test/widgetsSpec.js | |
| parent | 58d6da556a89d4d576a40164765dc42dbbfa4aad (diff) | |
| download | angular.js-6c4f1391bc10ebfd76bb39d3cb7f7b3b3bff4dd5.tar.bz2 | |
refactor(test): remove odd inject from describe
Diffstat (limited to 'test/widgetsSpec.js')
| -rw-r--r-- | test/widgetsSpec.js | 4 |
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() { |
