text: var path = require('path');
  var should = require('chai').should();
  
  var month = require(path.join(process.cwd(),'/lib/cal.month'));
  
  describe('Month', function() {
    describe('#addLine()', function() {
  
      it('should print 7 days in a row', function() {
        month.addLine(5,7,2015).should.equal(' 5  6  7  8  9 10 11\n');
      });
  
      it('should be print the first line in a month', function() {
        month.addLine(1,7,2015).should.equal('          1  2  3  4\n');
      });
  
      it('should print a new line after the last day of the month', function() {
        month.addLine(26,7,2015).should.equal('26 27 28 29 30 31\n');
      });
    });
  
    describe('#days()', function() {
      it('should start with the first day of the month, and print a list of days', function() {
        var output = [
          '          1  2  3  4\n',
          ' 5  6  7  8  9 10 11\n',
          '12 13 14 15 16 17 18\n',
          '19 20 21 22 23 24 25\n',
          '26 27 28 29 30 31\n\n'
        ].join('');
        month.days(7,2015).should.equal(output);
      });
    });
  
    describe('#display()', function() {
      it('should print a standard display of the month', function() {
        var output = [
          '     July 2015\n',
          'Su Mo Tu We Th Fr Sa\n',
          '          1  2  3  4\n',
          ' 5  6  7  8  9 10 11\n',
          '12 13 14 15 16 17 18\n',
          '19 20 21 22 23 24 25\n',
          '26 27 28 29 30 31\n',
          '\n'
        ].join('');
        month.display(7,2015).should.equal(output);
      });
  
      it('should display January 2015 correctly', function() {
        var output = [
          '    January 2015\n',
          'Su Mo Tu We Th Fr Sa\n',
          '             1  2  3\n',
          ' 4  5  6  7  8  9 10\n',
          '11 12 13 14 15 16 17\n',
          '18 19 20 21 22 23 24\n',
          '25 26 27 28 29 30 31\n',
          '\n'
        ].join('');
        month.display(1,2015).should.equal(output);
      });
  
      it('should display a month with six weeks', function() {
        var output = [
          '    August 2015',
          'Su Mo Tu We Th Fr Sa',
          '                   1',
          ' 2  3  4  5  6  7  8',
          ' 9 10 11 12 13 14 15',
          '16 17 18 19 20 21 22',
          '23 24 25 26 27 28 29',
          '30 31\n'
        ].join('\n');
        month.display(8,2015).should.equal(output);
      });
    });
  
    describe('#startIndex()', function() {
      it('should take a week day number and return the start index for that day - e.g., (Th) 4 => 11', function() {
        month.startIndex(1).should.equal(2);
        month.startIndex(4).should.equal(11);
      });
    });
  
    describe('#title()', function() {
      it('should print an evenly spaced title with year name', function() {
         month.title(7,2015).should.equal('     July 2015\n');
      });
    });
  
    describe('#wkdys', function() {
      it('should return a list of the names of the days in a row', function() {
        month.wkdys.should.equal('Su Mo Tu We Th Fr Sa\n');
      });
    });
  
  });
  