Skip to content
This repository was archived by the owner on Feb 7, 2020. It is now read-only.

Commit fcd545d

Browse files
committed
test: remove deprecated methods
1 parent 1fd619b commit fcd545d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/ngx-simple-http/src/lib/simple-http.service.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ describe('SimpleHttpService', () => {
6565
it('should be created', () => {
6666
expect(service).toBeTruthy();
6767
});
68-
describe('SimpleHttpService#createHttpGet', () => {
68+
describe('SimpleHttpService#sendHttpGet', () => {
6969
it('should return a Studio Ghilbli film using the unofficial Ghibli API', async(() => {
70-
const request = service.createHttpGet<null, StudioGhilbliFilm>(
70+
const request = service.sendHttpGet<null, StudioGhilbliFilm>(
7171
'https://ghibliapi.herokuapp.com/films/2baf70d1-42bb-4437-b551-e5fed5a87abe',
7272
null
7373
);
@@ -87,7 +87,7 @@ describe('SimpleHttpService', () => {
8787
});
8888
}));
8989
it('should return a generated thumbnail in JSON using the Let\'s Validate API', () => {
90-
const request = service.createHttpGet<LetsValidateThumbsParams, LetsValidateThumbsJson>(
90+
const request = service.sendHttpGet<LetsValidateThumbsParams, LetsValidateThumbsJson>(
9191
'https://api.letsvalidate.com/v1/thumbs',
9292
{
9393
output: 'json',

0 commit comments

Comments
 (0)