blob: bd581e9f1f12730fe9706076d60d60009862a51a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
'use strict';
var sassyTest = new SassyTest();
describe('@include normalize()', function() {
before(function(done) {
sassyTest.configurePaths({
fixtures: path.join(__dirname, 'fixtures/normalize'),
includePaths: [path.join(__dirname, '../sass')]
});
done();
});
describe('$include parameter', function() {
it('should accept a list with multiple values', function() {
return sassyTest.renderFixture('include-multiple');
});
it('should accept a list with a single value', function() {
return sassyTest.renderFixture('include-single');
});
it('should accept a string', function() {
return sassyTest.renderFixture('include-string');
});
});
describe('$exclude parameter', function() {
it('should accept a list with multiple values', function() {
return sassyTest.renderFixture('exclude-multiple');
});
it('should accept a list with a single value', function() {
return sassyTest.renderFixture('exclude-single');
});
it('should accept a string', function() {
return sassyTest.renderFixture('exclude-string');
});
});
});
|