| Total Complexity | 3 |
| Complexity/F | 1 |
| Lines of Code | 14 |
| Function Count | 3 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | 'use strict'; |
||
| 2 | |||
| 3 | var expect = require('expect.js'); |
||
| 4 | var Config = require('../lib/config'); |
||
| 5 | |||
| 6 | describe('Config', function() { |
||
| 7 | var config = new Config('./config/tests'); |
||
| 8 | it('should set config.topRightPos', function () { |
||
| 9 | expect(config.topRightPos).to.only.have.keys('x', 'y'); |
||
| 10 | }); |
||
| 11 | it('should set config.mowers', function () { |
||
| 12 | expect(config.mowers).to.not.be.empty(); |
||
| 13 | }); |
||
| 14 | }); |