1 |
|
2 | var Components = require("../../lib/components");
|
3 |
|
4 | describe ("Components", function() {
|
5 |
|
6 | it ("should not find any component", function() {
|
7 | expect(Components.hasSidebar()).to.be.false;
|
8 | expect(Components.hasFooter()).to.be.false;
|
9 | expect(Components.hasCustomStyle()).to.be.false;
|
10 | expect(Components.hasCustomScript()).to.be.false;
|
11 | });
|
12 |
|
13 | it ("should not fetch any component", function() {
|
14 | expect(Components.customStyle()).to.be.a("null");
|
15 | expect(Components.customScript()).to.be.a("null");
|
16 | });
|
17 |
|
18 | }); |
\ | No newline at end of file |