var Settings = require('../lib/settings');
  
  
describe('Settings', function () {
  
  it('should export constructor', function () {
    expect(Settings).to.be.a('function');
  });
  
  describe('constructor', function () {
    
    it('should construct with object', function () {
      var settings = new Settings({ foo: 'bar' });
      expect(settings.toObject()).to.deep.equal({ foo: 'bar' });
    });
    
  });
  
  describe('#set', function () {
    
    it('should set value', function () {
      var settings = new Settings();
      settings.set('port', 8080)
      expect(settings.toObject()).to.deep.equal({ port: 8080 });
    });
    
    it('should set object', function () {
      var settings = new Settings();
      settings.set('server', { host: 'www.example.com', port: 8080 })
      expect(settings.toObject()).to.deep.equal({ server: { host: 'www.example.com', port: 8080 } });
    });
    
  });
  
});

@@ -407,25 +407,487 @@
 ;%0A    %0A  %7D);
+ // constructor%0A  %0A  describe('#get', function () %7B%0A    %0A    it('should get value', function () %7B%0A      var settings = new Settings(%7B port: 8080 %7D);%0A      expect(settings.get('port')).to.equal(8080);%0A    %7D);%0A    %0A    it('should get object', function () %7B%0A      var settings = new Settings(%7B server: %7B host: 'www.example.com', port: 8080 %7D %7D);%0A      expect(settings.get('server')).to.deep.equal(%7B host: 'www.example.com', port: 8080 %7D);%0A    %7D);%0A    %0A  %7D); // #get
 %0A
-
   %0A  describ
@@ -1025,16 +1025,17 @@
 ', 8080)
+;
 %0A      e
@@ -1253,16 +1253,17 @@
  8080 %7D)
+;
 %0A      e
@@ -1370,21 +1370,29 @@
 );%0A    %0A
-
   %7D);
+ // #set
 %0A  %0A%7D);%0A

Add tests.