Skip to content

Instantly share code, notes, and snippets.

@eriktrom
Forked from fayimora/test.coffee
Last active December 17, 2015 18:19
Show Gist options
  • Save eriktrom/5652157 to your computer and use it in GitHub Desktop.
Save eriktrom/5652157 to your computer and use it in GitHub Desktop.
"use strict"
beforeEach ->
Ember.testing = true
afterEach ->
App.reset()
describe "App.ApplicationController", ->
it "is an ember controller", ->
# Ember.run(assert.ok(Ember.Controller.detect(App.ApplicationController)))
Em.run ->
appCont = App.ApplicationController.create({container: App.__container_, content: ['']})
expect(appCont).to.be.an('object')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment