priority-ignore/test/01_accessable_mocha.coffee

15 lines
414 B
CoffeeScript

chai = require('chai')
chai.should()
fs = require('fs')
zombie = require('zombie')
browser = new zombie.Browser()
describe 'Initialization', ->
it 'should load the home page', (done) ->
browser.visit 'http://127.0.0.1:8081/index.html', (error, browser, status) ->
if error then console.log(error)
browser.text('title').should.be.equal('Priority / Ignore')
done()