Skip to content

Commit

Permalink
Fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Juhuan Ye committed May 9, 2016
1 parent 74589c6 commit 71b71a2
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions tests/acceptance/pods-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@ import destroyApp from '../helpers/destroy-app'

/* eslint-disable */
describe('Acceptance: PodsTest', function () {
let application
beforeEach(function () {
application = startApp()
})
let application
beforeEach(function () {
application = startApp()
})

afterEach(function () {
destroyApp(application)
})
afterEach(function () {
destroyApp(application)
})

it('can visit /', function () {
visit('/')
click('#detailPodsId')
andThen(function () {
click('#openNewPod');
it('can visit /', function (done) {
visit('/')
click('#detailPodsId')
andThen(function () {
click('#testButtonId');
click('#openNewPod');
andThen(function () {
click('#closePodId');
click('#testButtonId');
andThen(function () {
click('#closePodId');
andThen(function () {
expect(currentPath()).to.equal('demo')
done();
})
})
})
})
})

andThen(function () {
expect(currentPath()).to.equal('demo')
})
})
})
/* eslint-enable */
/* eslint-enable */

0 comments on commit 71b71a2

Please sign in to comment.