FIX: editing a post wasn't showing error messages from the server

This commit is contained in:
Régis Hanol
2015-03-19 12:22:56 +01:00
parent b071bd3c7c
commit df3b1f6968
21 changed files with 113 additions and 117 deletions

View File

@ -1,16 +1,16 @@
integration("View Topic");
test("Enter a Topic", function() {
test("Enter a Topic", () => {
visit("/t/internationalization-localization/280");
andThen(function() {
andThen(() => {
ok(exists("#topic"), "The topic was rendered");
ok(exists("#topic .post-cloak"), "The topic has cloaked posts");
});
});
test("Enter without an id", function() {
test("Enter without an id", () => {
visit("/t/internationalization-localization");
andThen(function() {
andThen(() => {
ok(exists("#topic"), "The topic was rendered");
});
});