diff --git a/test/javascripts/integration/header_test.js b/test/javascripts/integration/header_test.js index 3ed5d2490..392bf8a93 100644 --- a/test/javascripts/integration/header_test.js +++ b/test/javascripts/integration/header_test.js @@ -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"); }); - }); - -