Skip to content

Instantly share code, notes, and snippets.

@yevgenko
Created January 26, 2016 00:10
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 yevgenko/e17926b275d3d0756891 to your computer and use it in GitHub Desktop.
Save yevgenko/e17926b275d3d0756891 to your computer and use it in GitHub Desktop.
Sample Spec for the View class of marionette module
describe 'ProductsApp.List', ->
List = App.module "ProductsApp.List"
describe 'Products', ->
productsView = new List.Products
collection: new Backbone.Collection []
describe 'click .publish_selected', ->
it 'triggers publish:selected:clicked event', ->
expect(true).toBeTruthy()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment