FIX: Don't cloak in test mode. Should help with intermittant failures
This commit is contained in:
parent
2459f52c71
commit
c216b3affe
|
@ -5,7 +5,7 @@ test("Enter a Topic", () => {
|
|||
visit("/t/internationalization-localization/280/1");
|
||||
andThen(() => {
|
||||
ok(exists("#topic"), "The topic was rendered");
|
||||
ok(exists("#topic .post-cloak"), "The topic has cloaked posts");
|
||||
ok(exists("#topic .cooked"), "The topic has cooked posts");
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue