Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test_variables.js « test - github.com/JohnAlbin/normalize-scss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92d9439eecd4d78767e1174742e41e949ee95f1b (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
'use strict';

var sassyTest = new SassyTest();

describe('Configuration variables', function() {
  before(function(done) {
    sassyTest.configurePaths({
      fixtures: path.join(__dirname, 'fixtures'),
      includePaths: [path.join(__dirname, '../sass')]
    });
    done();
  });

  describe('default values', function() {
    it('should limit output to the same output as normalize.css', function() {
      return sassyTest.renderFixture('variables/default');
    });
  });

  describe('$base-* and $h*-font-size', function() {
    it('should alter the font, font size, and line-height', function() {
      return sassyTest.renderFixture('variables/font');
    });
  });

  describe('$indent-amount', function() {
    it('should alter the indent amount of elements', function() {
      return sassyTest.renderFixture('variables/indent-amount');
    });
  });

  describe('$indent-amount and $normalize-vertical-rhythm', function() {
    it('should alter the indent amount of elements', function() {
      return sassyTest.renderFixture('variables/indent-amount-and-vertical-rhythm');
    });
  });
});