fixes wrong placement of expect in header integration test

This commit is contained in:
Wojciech Zawistowski 2013-10-28 19:01:36 +01:00
parent 70ce07ae49
commit 76602f6353

View file

@ -1,14 +1,10 @@
integration("Header"); integration("Header");
test("/", function() { test("/", function() {
visit("/").then(function() {
expect(2); expect(2);
visit("/").then(function() {
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");
}); });
}); });