fix intermittent failing tests, some watched word refactoring

This commit is contained in:
Neil Lalonde
2017-07-27 12:26:55 -04:00
parent ad04d188ae
commit 68b3dd43ce
5 changed files with 27 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ export default Ember.Component.extend(bufferedRender({
this.get('word').destroy().then(() => {
this.sendAction('action', this.get('word'));
}).catch(e => {
bootbox.alert(I18n.t("generic_error_with_reason", {error: "http: " + e.status + " - " + e.body}));
bootbox.alert(I18n.t("generic_error_with_reason", {error: `http: ${e.status} - ${e.body}`}));
});;
}
}));