mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
FIX: editing a post wasn't showing error messages from the server
This commit is contained in:
@ -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");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user