mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
fixes wrong placement of expect in header integration test
This commit is contained in:
parent
70ce07ae49
commit
76602f6353
1 changed files with 1 additions and 5 deletions
|
@ -1,14 +1,10 @@
|
|||
integration("Header");
|
||||
|
||||
test("/", function() {
|
||||
expect(2);
|
||||
|
||||
visit("/").then(function() {
|
||||
expect(2);
|
||||
|
||||
ok(exists("header"), "The header was rendered");
|
||||
ok(exists("#site-logo"), "The logo was shown");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue