Created
January 26, 2016 00:10
-
-
Save yevgenko/e17926b275d3d0756891 to your computer and use it in GitHub Desktop.
Sample Spec for the View class of marionette module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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