FIX: Broken Acceptance test

This commit is contained in:
Robin Ward 2017-05-25 15:56:11 -04:00
parent 39e1948174
commit 2820cf2b50

View File

@ -5,7 +5,7 @@ acceptance("Account Created");
test("account created - message", assert => { test("account created - message", assert => {
PreloadStore.store('accountCreated', { PreloadStore.store('accountCreated', {
message: "Hello World" message: "Hello World",
}); });
visit("/u/account-created"); visit("/u/account-created");
@ -24,7 +24,8 @@ test("account created - resend email", assert => {
PreloadStore.store('accountCreated', { PreloadStore.store('accountCreated', {
message: "Hello World", message: "Hello World",
username: 'eviltrout', username: 'eviltrout',
email: 'eviltrout@example.com' email: 'eviltrout@example.com',
show_controls: true
}); });
visit("/u/account-created"); visit("/u/account-created");
@ -50,7 +51,8 @@ test("account created - update email - cancel", assert => {
PreloadStore.store('accountCreated', { PreloadStore.store('accountCreated', {
message: "Hello World", message: "Hello World",
username: 'eviltrout', username: 'eviltrout',
email: 'eviltrout@example.com' email: 'eviltrout@example.com',
show_controls: true
}); });
visit("/u/account-created"); visit("/u/account-created");
@ -70,7 +72,8 @@ test("account created - update email - submit", assert => {
PreloadStore.store('accountCreated', { PreloadStore.store('accountCreated', {
message: "Hello World", message: "Hello World",
username: 'eviltrout', username: 'eviltrout',
email: 'eviltrout@example.com' email: 'eviltrout@example.com',
show_controls: true
}); });
visit("/u/account-created"); visit("/u/account-created");