Skip to content

Commit

Permalink
Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Komskis committed Apr 15, 2018
1 parent 91c6877 commit e440b31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/writeups/writeups.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class MockExternalFileService {
public getWriteup(id: number) {
return of({
name: 'writeup name',
description: 'description'
text: 'test',
id: id
});
Expand Down Expand Up @@ -90,6 +91,7 @@ describe('WriteupsComponent', () => {
it('should notify the user on success', () => {
component.formData.patchValue({
writeupName: 'name',
writeupDescription: 'test',
markdownInput: 'success'
});
component.submitWriteup();
Expand Down

0 comments on commit e440b31

Please sign in to comment.