mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-17 22:34:43 +08:00
refactor(test): remove odd inject from describe
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user