var GremlinScript = require('../src/gremlinscript');

describe('GremlinScript', function() {
  it('should append script', function() {
    var gremlin = new GremlinScript();
    gremlin.append('foo');
    gremlin.script.should.equal('foo');

  });

  it('should append a new line', function() {
    var gremlin = new GremlinScript();
    gremlin.line('foo');
    gremlin.script.should.equal('\nfoo');
  });
});
var GremlinScript = require('../src/gremlinscript');

describe('GremlinScript', function() {
  describe('append()', function() {
    it('should append script', function() {
      var gremlin = new GremlinScript();
      gremlin.append('foo');
      gremlin.script.should.equal('foo');
    });
  });

  describe('line()', function() {
    it('should append a new line', function() {
      var gremlin = new GremlinScript();
      gremlin.line('foo');
      gremlin.script.should.equal('\nfoo');
    });
  });
});
Add descriptions to GremlinScript tests
Add descriptions to GremlinScript tests
