Skip to content

Instantly share code, notes, and snippets.

@joliss
Created April 7, 2012 20:15
Show Gist options
  • Save joliss/2331836 to your computer and use it in GitHub Desktop.
Save joliss/2331836 to your computer and use it in GitHub Desktop.
"this" working in Mocha 1.0.0 (bundled with Konacha 1.0.0)
describe 'Klondike Controllers', ->
beforeEach ->
@gameController = new App.Controllers.KlondikeTurnOne
it 'has widgets', ->
console.log @gameController
assert.ok $('#konacha .redealImage').length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment