Skip to content

Commit

Permalink
test(schematics): revise expectations of spec
Browse files Browse the repository at this point in the history
  • Loading branch information
koumatsumoto committed Jun 22, 2018
1 parent a2d24b4 commit af01c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/schematics/src/action/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('Action Schematic', () => {
expect(fileContent).toMatch(/export enum FooActionTypes/);
});

it('should create a class named "LoadFoos"', () => {
it('should create a class based on the provided name', () => {
const tree = schematicRunner.runSchematic(
'action',
defaultOptions,
Expand All @@ -82,7 +82,7 @@ describe('Action Schematic', () => {
expect(fileContent).toMatch(/export class LoadFoos implements Action/);
});

it('should create a type named "FooActions"', () => {
it('should create the union type based on the provided name', () => {
const tree = schematicRunner.runSchematic(
'action',
defaultOptions,
Expand Down

0 comments on commit af01c75

Please sign in to comment.