'use strict';

var expect = require('expect.js');
var conversion = require('../../src/convert-expression/asterisk-to-range-conversion');

describe('asterisk-to-range-conversion.js', function() {
  it('shuld convert * to ranges', function() {
    var expressions = '* * * * * *'.split(' ');
    var expression = conversion(expressions).join(' ');
    expect(expression).to.equal('0-59 0-59 0-23 1-31 1-12 0-6');
  });
});
