mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
Merge pull request #1583 from velesin/header_test_fix
fixes wrong placement of expect in header integration test
This commit is contained in:
commit
84d531cff7
@ -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 New Issue
Block a user