mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
refactor(test): remove odd inject from describe
This commit is contained in:
parent
58d6da556a
commit
6c4f1391bc
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue