mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
Category List and Topic View Integration Test
This commit is contained in:
12
test/javascripts/integration/view_topic_test.js
Normal file
12
test/javascripts/integration/view_topic_test.js
Normal file
@ -0,0 +1,12 @@
|
||||
integration("View Topic");
|
||||
|
||||
test("View a Topic", function() {
|
||||
|
||||
visit("/t/internationalization-localization/280").then(function() {
|
||||
expect(2);
|
||||
|
||||
ok(exists("#topic"), "The was rendered");
|
||||
ok(exists("#topic .topic-post"), "The topic has posts");
|
||||
});
|
||||
|
||||
});
|
Reference in New Issue
Block a user