mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 14:32:25 -05:00
18 lines
481 B
Text
18 lines
481 B
Text
|
import { acceptance } from "helpers/qunit-helpers";
|
||
|
acceptance("Topic - Anonymous");
|
||
|
|
||
|
test("Enter a Topic", () => {
|
||
|
visit("/t/internationalization-localization/280/1");
|
||
|
andThen(() => {
|
||
|
ok(exists("#topic"), "The topic was rendered");
|
||
|
ok(exists("#topic .cooked"), "The topic has cooked posts");
|
||
|
});
|
||
|
});
|
||
|
|
||
|
test("Enter without an id", () => {
|
||
|
visit("/t/internationalization-localization");
|
||
|
andThen(() => {
|
||
|
ok(exists("#topic"), "The topic was rendered");
|
||
|
});
|
||
|
});
|