'use strict';

var grunt = require('grunt');

exports.bump = {
  default_options: function(test) {
    test.expect(1);

    var actual = grunt.file.readJSON( this.defOpts.fixtures );
    var expected = grunt.file.readJSON( this.defOpts.expected );
    test.equal( actual.version, expected.version, 'should set version to 0.1.0-1' );

    test.done();
  },
  custom_options: function(test) {
    test.expect(1);

    var actual = grunt.file.readJSON( this.custOpts.fixtures );
    var expected = grunt.file.readJSON( this.custOpts.expected );
    test.equal( actual.version, expected.version, 'should set version to 0.2.0' );

    test.done();
  },
};

@@ -56,16 +56,323 @@
 ump = %7B%0A
+  setUp: function(cb)%7B%0A    this.defOpts = %7B%0A      fixtures: 'test/fixtures/default_options.json',%0A      expected: 'test/expected/default_options.json'%0A    %7D,%0A    this.custOpts = %7B%0A      fixtures: 'test/fixtures/custom_options.json',%0A      expected: 'test/expected/custom_options.json'%0A    %7D;%0A    cb();%0A  %7D,%0A
   defaul

Fix a missing part of code in unit test