describe('date format', function() {

  var dateFormatter = require('../lib/filters/date');

  it('should format the date correctly', function() {

    expect(dateFormatter(new Date(2015,11,31),'dd-mm-yyyy')).toBe('31-12-2015');
  });

  it('should return the property unchaged if it is not a date object', function() {
    expect(dateFormatter('Ivan Handler')).toBe('Ivan Handler');
  });

});

@@ -217,17 +217,17 @@
 1-12-201
-5
+4
 ');%0A  %7D)

test travis