mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 08:39:38 -05:00
23 lines
419 B
JavaScript
23 lines
419 B
JavaScript
module("Header", {
|
|
setup: function() {
|
|
Ember.run(Discourse, Discourse.advanceReadiness);
|
|
},
|
|
|
|
teardown: function() {
|
|
$('#discourse-modal').modal('hide')
|
|
$('#discourse-modal').remove()
|
|
Discourse.reset();
|
|
}
|
|
});
|
|
|
|
test("/", function() {
|
|
expect(2);
|
|
|
|
visit("/").then(function() {
|
|
ok(exists("header"), "The header was rendered");
|
|
ok(exists("#site-logo"), "The logo was shown");
|
|
});
|
|
|
|
});
|
|
|
|
|