Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 15 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | var chai = require('chai'); |
||
2 | var config = require('../src/cli').config |
||
3 | config.set({root: __dirname + '/fixtures'}) |
||
|
|||
4 | |||
5 | describe('Config', function() { |
||
6 | /** |
||
7 | * getAbeImport |
||
8 | * |
||
9 | */ |
||
10 | it('configuration file', function() { |
||
11 | chai.assert.equal(config.localeFolder, 'locale', 'Error on config file') |
||
12 | chai.assert.equal(config.root.substr(config.root.lastIndexOf('/') + 1), 'fixtures', 'Error on config file') |
||
13 | chai.assert.equal(config.upload.image, 'unitimage', 'Error on config file') |
||
14 | }); |
||
15 | }); |
||
16 |