mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-01 11:28:15 -05:00
16 lines
446 B
JavaScript
16 lines
446 B
JavaScript
integration("View Topic");
|
|
|
|
test("Enter a Topic", function() {
|
|
visit("/t/internationalization-localization/280");
|
|
andThen(function() {
|
|
ok(exists("#topic"), "The topic was rendered");
|
|
ok(exists("#topic .post-cloak"), "The topic has cloaked posts");
|
|
});
|
|
});
|
|
|
|
test("Enter without an id", function() {
|
|
visit("/t/internationalization-localization");
|
|
andThen(function() {
|
|
ok(exists("#topic"), "The topic was rendered");
|
|
});
|
|
});
|