1
0
Fork 0

Use plugin's prettier

Dieser Commit ist enthalten in:
Angus McLeod 2022-07-27 15:36:22 +01:00
Ursprung 039e478f47
Commit 6792cfb000
2 geänderte Dateien mit 3 neuen und 9 gelöschten Zeilen

Datei anzeigen

@ -11,9 +11,7 @@ import { stepNotPermitted, update, wizard } from "../helpers/wizard";
acceptance("Step | Not permitted", function (needs) {
needs.pretender((server, helper) => {
server.get("/w/wizard.json", () =>
helper.response(stepNotPermitted)
);
server.get("/w/wizard.json", () => helper.response(stepNotPermitted));
});
test("Shows not permitted message", async function (assert) {
@ -25,9 +23,7 @@ acceptance("Step | Not permitted", function (needs) {
acceptance("Step | Step", function (needs) {
needs.pretender((server, helper) => {
server.get("/w/wizard.json", () => helper.response(wizard));
server.put("/w/wizard/steps/:step_id", () =>
helper.response(update)
);
server.put("/w/wizard/steps/:step_id", () => helper.response(update));
});
test("Renders the step", async function (assert) {

Datei anzeigen

@ -27,9 +27,7 @@ acceptance("Wizard | Not logged in", function (needs) {
acceptance("Wizard | Not permitted", function (needs) {
needs.user();
needs.pretender((server, helper) => {
server.get("/w/wizard.json", () =>
helper.response(wizardNotPermitted)
);
server.get("/w/wizard.json", () => helper.response(wizardNotPermitted));
});
test("Wizard no access not permitted", async function (assert) {