Fix app unit test

This commit is contained in:
kiswa 2016-09-02 20:26:21 +00:00
parent 05fdc54aa0
commit c6e2608360
2 changed files with 2 additions and 3 deletions

View File

@ -96,7 +96,6 @@ export class UserAdmin {
this.userService.editUser(this.modalProps.user)
.subscribe((response: ApiResponse) => {
console.log(response);
response.alerts.forEach(note => this.notes.add(note));
this.replaceUser(JSON.parse(response.data[1]));

View File

@ -7,8 +7,8 @@ describe('Routes', () => {
expect(routes.APP_ROUTING).to.be.an('object');
});
it('provides APP_COMPONENTS', () => {
expect(routes.APP_COMPONENTS).to.be.an('array');
it('provides ROUTE_COMPONENTS', () => {
expect(routes.ROUTE_COMPONENTS).to.be.an('array');
});
});