'use strict';

var validation = require('../lib/index')
, app = require('./app')
, should = require('should')
, request = require('supertest');

describe.only('set default values', function() {  
  describe('when the values are  missing', function() {
  // Expect default values to be set
    it('should return the request with default values', function(done) {
      request(app)
        .post('/defaults')
        .send({firstname: "Jane", lastname: "Doe"})
        .expect(200)
        .end(function (err, res) {
          var response = JSON.parse(res.text);
          response.username.should.equal("jane-doe");
          done();
        });  
    });
  });

})

@@ -150,13 +150,8 @@
 ribe
-.only
 ('se

Remove .only() call for tests. Sorry