Created
March 7, 2014 21:45
-
-
Save patrickberkeley/9420855 to your computer and use it in GitHub Desktop.
Ember test helper for bootstrapping qunit tests
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
document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>') | |
App.rootElement = '#ember-testing' | |
App.ApplicationAdapter = DS.FixtureAdapter.extend() | |
App.setupForTesting() | |
App.injectTestHelpers() | |
window.exists = (selector) -> | |
!!find(selector).length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment