1 | require('./setup');
|
2 |
|
3 | describe('Config files', function() {
|
4 | var app;
|
5 |
|
6 | beforeEach(function() { app = loadFixtureApp('simple'); });
|
7 |
|
8 | it('read yaml', function() {
|
9 | var data = app.conf('yaml_conf');
|
10 | data.key.should.equal('value');
|
11 | });
|
12 |
|
13 | it('read json', function() {
|
14 | var data = app.conf('json_conf');
|
15 | data.key2.should.equal('value2');
|
16 | });
|
17 | });
|