Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

Commit

Permalink
fix(command): fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 24, 2017
1 parent 586190c commit a7fff34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/make-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ test.group('Make test', (group) => {
test('create a test file', async (assert) => {
const make = new MakeTest()
await make.handle({ name: 'Foo' }, { unit: true })
const exists = await make.pathExists(path.join(__dirname, './sample/test/unit/Foo.spec.js'))
const exists = await make.pathExists(path.join(__dirname, './sample/test/unit/foo.spec.js'))
assert.isTrue(exists)
})

test('create a functional test file', async (assert) => {
const make = new MakeTest()
await make.handle({ name: 'Bar' }, { functional: true, unit: true })
const exists = await make.pathExists(path.join(__dirname, './sample/test/functional/Bar.spec.js'))
const exists = await make.pathExists(path.join(__dirname, './sample/test/functional/bar.spec.js'))
assert.isTrue(exists)
})

Expand Down

0 comments on commit a7fff34

Please sign in to comment.