mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +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);
|
dealoc(element);
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('ng:switch', inject(function($rootScope, $compile) {
|
describe('ng:switch', function() {
|
||||||
it('should switch on value change', inject(function($rootScope, $compile) {
|
it('should switch on value change', inject(function($rootScope, $compile) {
|
||||||
element = $compile(
|
element = $compile(
|
||||||
'<ng:switch on="select">' +
|
'<ng:switch on="select">' +
|
||||||
|
|
@ -58,7 +58,7 @@ describe('widget', function() {
|
||||||
expect($rootScope.name).toEqual(undefined);
|
expect($rootScope.name).toEqual(undefined);
|
||||||
expect(element.text()).toEqual('works');
|
expect(element.text()).toEqual('works');
|
||||||
}));
|
}));
|
||||||
}));
|
});
|
||||||
|
|
||||||
|
|
||||||
describe('ng:include', function() {
|
describe('ng:include', function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue