mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 14:12:10 +08:00
ES6: Tests
This commit is contained in:
11
test/javascripts/integration/topic-test.js.es6
Normal file
11
test/javascripts/integration/topic-test.js.es6
Normal file
@ -0,0 +1,11 @@
|
||||
integration("View Topic");
|
||||
|
||||
test("Enter a Topic", function() {
|
||||
expect(2);
|
||||
|
||||
visit("/t/internationalization-localization/280");
|
||||
andThen(function() {
|
||||
ok(exists("#topic"), "The was rendered");
|
||||
ok(exists("#topic .post-cloak"), "The topic has cloaked posts");
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user