mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 03:25:31 -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");
|
integration("Header");
|
||||||
|
|
||||||
test("/", function() {
|
test("/", function() {
|
||||||
|
expect(2);
|
||||||
|
|
||||||
visit("/").then(function() {
|
visit("/").then(function() {
|
||||||
expect(2);
|
|
||||||
|
|
||||||
ok(exists("header"), "The header was rendered");
|
ok(exists("header"), "The header was rendered");
|
||||||
ok(exists("#site-logo"), "The logo was shown");
|
ok(exists("#site-logo"), "The logo was shown");
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue