{{#camelize}}{{name}}{{/camelize}}View = require 'views/{{name}}-view'

describe '{{#camelize}}{{name}}{{/camelize}}View', ->
  beforeEach ->
    @view = new {{#camelize}}{{name}}{{/camelize}}View()

{{#camelize}}{{name}}{{/camelize}}View = require 'views/{{name}}-view'

describe '{{#camelize}}{{name}}{{/camelize}}View', ->
  beforeEach ->
    @view = new {{#camelize}}{{name}}{{/camelize}}View()

  afterEach ->
    @view.dispose()

Add afterEach method to dispose the view after each test
Add afterEach method to dispose the view after each test
