fixes wrong placement of expect in View Topic integration test

This commit is contained in:
Wojciech Zawistowski 2013-10-28 19:15:40 +01:00
parent 70ce07ae49
commit 37e56249be

View file

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