Skip to content

Instantly share code, notes, and snippets.

@steida
Created January 8, 2012 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steida/1578979 to your computer and use it in GitHub Desktop.
Save steida/1578979 to your computer and use it in GitHub Desktop.
suite 'este.ui.OOPLightbox', ->
suite 'OOPLightbox.create', ->
test 'should create lightbox instance with object graph', ->
lightbox = OOPLightbox.create()
lightbox.should.be.instanceof OOPLightbox
lightbox.anchorClickHandler.should.be.instanceof ooplightbox.AnchorClickHandler
lightbox.viewFactory.should.be.instanceof Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment