mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
18 lines
416 B
Text
18 lines
416 B
Text
|
import { acceptance } from "helpers/qunit-helpers";
|
||
|
import PreloadStore from 'preload-store';
|
||
|
|
||
|
acceptance("Account Created");
|
||
|
|
||
|
test("account created", () => {
|
||
|
visit("/u/account-created");
|
||
|
PreloadStore.store('accountCreated', {
|
||
|
message: "Hello World"
|
||
|
});
|
||
|
|
||
|
andThen(() => {
|
||
|
ok(exists('.account-created'));
|
||
|
equal(find('.account-created').text(), "Hello World", "it displays the message");
|
||
|
});
|
||
|
});
|
||
|
|