mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
23 lines
505 B
JavaScript
23 lines
505 B
JavaScript
integration("Header");
|
|
|
|
test("header", function() {
|
|
expect(1);
|
|
|
|
visit("/").then(function() {
|
|
ok(exists("header"), "is rendered");
|
|
});
|
|
});
|
|
|
|
test("logo", function() {
|
|
expect(2);
|
|
|
|
visit("/").then(function() {
|
|
ok(exists(".logo-big"), "is rendered");
|
|
|
|
Ember.run(function() {
|
|
controllerFor("header").set("showExtraInfo", true);
|
|
});
|
|
ok(exists(".logo-small"), "is properly wired to showExtraInfo property (when showExtraInfo value changes, logo size also changes)");
|
|
});
|
|
});
|