refactor(test): remove odd inject from describe

This commit is contained in:
Vojta Jina 2012-01-30 11:44:19 -08:00
parent 58d6da556a
commit 6c4f1391bc

View file

@ -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() {