Category List and Topic View Integration Test

This commit is contained in:
Robin Ward
2013-06-20 15:02:02 -04:00
parent 3775a9c11d
commit 3257bef387
7 changed files with 43 additions and 4 deletions

View 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");
});
});