Skip to content

Commit

Permalink
travis compile coffee
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-t committed Jul 4, 2015
1 parent 9398a39 commit 136294f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ install:
before_script:
- phantomjs --version
- mocha-phantomjs --version
- gulp compile-coffee &
- sleep 5
script:
- mocha-phantomjs test/index.html
2 changes: 1 addition & 1 deletion test/src/test.chocolat.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe "Chocolat", ->

$('#example0').find('.chocolat-image').first().trigger('click')

expect(spyMarkup.calledOnce).to.be.false
expect(spyMarkup.calledOnce).to.be.true
expect($('#container').find('.chocolat-wrapper').length).to.equal(1)
expect($('#container .chocolat-wrapper').find('.chocolat-overlay').length).to.equal(1)
expect($('#container .chocolat-wrapper').find('.chocolat-loader').length).to.equal(1)
Expand Down

0 comments on commit 136294f

Please sign in to comment.