refactor(tests): rename beforeEachBindings -> beforeEachProviders

Change beforeEachBindings to beforeEachProviders but preserve the
@deprecated method beforeEachBindings, in order to keep a working
deprecation warning
This commit is contained in:
Jesper Rønn-Jensen
2015-11-11 14:28:23 +01:00
committed by Jeremy Elbourn
parent 7f783289ab
commit 070d818e68
32 changed files with 49 additions and 49 deletions

View File

@ -10,7 +10,7 @@ import {
afterEach,
AsyncTestCompleter,
inject,
beforeEachBindings
beforeEachProviders
} from 'angular2/testing_internal';
import {provide} from 'angular2/src/core/di';
import {SpyXHR} from './spies';
@ -43,7 +43,7 @@ export function main() {
describe('StyleCompiler', () => {
var xhr: SpyXHR;
beforeEachBindings(() => {
beforeEachProviders(() => {
xhr = <any>new SpyXHR();
return [TEST_PROVIDERS, provide(XHR, {useValue: xhr})];
});