backbone-generator/templates/app_view_spec.coffee.erb

10 lines
172 B
Plaintext

describe 'AppView', ->
appView = null
beforeEach, ->
appView = new AppView()
it 'should render', ->
expect($(appView.render().el)).toContain('.something')