discourse/test/javascripts/integration/header_test.js

23 lines
420 B
JavaScript
Raw Normal View History

/*global module:true test:true ok:true visit:true expect:true exists:true count:true */
module("Header", {
setup: function() {
Ember.run(Discourse, Discourse.advanceReadiness);
},
teardown: function() {
Discourse.reset();
}
});
test("/", function() {
visit("/").then(function() {
ok(exists("header"), "The header was rendered");
ok(exists("#site-logo"), "The logo was shown");
});
});