DEV: Fix build. (#6500)

This commit is contained in:
Bianca Nenciu
2018-10-17 18:39:25 +03:00
committed by Régis Hanol
parent 0abc932056
commit 21d804fc92

View File

@ -4,14 +4,14 @@ acceptance("Composer - Edit conflict", {
loggedIn: true,
pretend(server, helper) {
server.put("/posts/398", () => {
server.put("/posts/18", () => {
return helper.response(409, { errors: ["edit conflict"] });
});
}
});
QUnit.test("Edit a post that causes an edit conflict", async assert => {
await visit("/t/internationalization-localization/280");
await visit("/t/this-is-a-test-topic/9");
await click(".topic-post:eq(0) button.show-more-actions");
await click(".topic-post:eq(0) button.edit");
await click("#reply-control button.create");