discourse/test/javascripts/integration/view_topic_test.js

11 lines
264 B
JavaScript
Raw Normal View History

integration("View Topic");
test("Enter a Topic", function() {
expect(2);
visit("/t/internationalization-localization/280").then(function() {
ok(exists("#topic"), "The was rendered");
ok(exists("#topic .topic-post"), "The topic has posts");
});
});