Skip to content

Commit

Permalink
fix spec generation
Browse files Browse the repository at this point in the history
  • Loading branch information
icepeng committed Feb 8, 2017
1 parent a681026 commit f58586d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions generators/api/templates/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ describe('GET api/v1/<%= pluralName %>', () => {
const <%= interfaceName %> = res.body.<%= pluralName %>[0];
expect(<%= interfaceName %>).to.exist;
expect(<%= interfaceName %>).to.have.all.keys([
<%= keys %>
]);
<%- keys %> ]);
});
});

Expand Down

0 comments on commit f58586d

Please sign in to comment.