fixes wrong placement of expect in View Topic integration test
This commit is contained in:
parent
70ce07ae49
commit
37e56249be
|
@ -1,12 +1,10 @@
|
||||||
integration("View Topic");
|
integration("View Topic");
|
||||||
|
|
||||||
test("Enter a Topic", function() {
|
test("Enter a Topic", function() {
|
||||||
|
|
||||||
visit("/t/internationalization-localization/280").then(function() {
|
|
||||||
expect(2);
|
expect(2);
|
||||||
|
|
||||||
|
visit("/t/internationalization-localization/280").then(function() {
|
||||||
ok(exists("#topic"), "The was rendered");
|
ok(exists("#topic"), "The was rendered");
|
||||||
ok(exists("#topic .topic-post"), "The topic has posts");
|
ok(exists("#topic .topic-post"), "The topic has posts");
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue