FIX: Don't cloak in test mode. Should help with intermittant failures

This commit is contained in:
Robin Ward
2015-04-16 11:47:18 -04:00
parent 2459f52c71
commit c216b3affe
2 changed files with 4 additions and 1 deletions

View File

@ -115,6 +115,9 @@ QUnit.testStart(function(ctx) {
}
});
// Don't cloak in testing
Ember.CloakedCollectionView = Ember.CollectionView;
QUnit.testDone(function() {
Ember.run.debounce = origDebounce;
window.sandbox.restore();