mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Merge pull request #1584 from velesin/view_topic_test_fix
fixes wrong placement of expect in View Topic integration test
This commit is contained in:
commit
5ae2681293
1 changed files with 1 additions and 3 deletions
|
@ -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");
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue