<commit_before>'use strict';

var chai = require('chai');
var expect = chai.expect;
chai.expect(); //use expect to assert conditions
var testConfig = require('./../testconfig');
var sinon = require('sinon');
var _ = require('lodash');

describe('Salty SqlDriver', function () {

  describe('.config', function () {

    it('should connect to the db using mssql (default tedious driver)');

    it('should query the db');
    it('should insert records into the db');
    it('should update records int the db');
    it('should delete records from the db');

    it('should bind the sql with params from a string');
    it('should bind the sql with params from an array');
    it('should bind the sql with params from an object');

  });

});<commit_msg>WIP - sql tests (no code as yet)<commit_after>'use strict';

var chai = require('chai');
var expect = chai.expect;
chai.expect(); //use expect to assert conditions
var testConfig = require('./../testconfig');
var sinon = require('sinon');
var _ = require('lodash');

describe('Salty SqlDriver', function () {

  describe('.config', function () {

    it('should connect to the db using mssql (default tedious driver)');

    it('should query the db');
    it('should insert records into the db');
    it('should update records int the db');
    it('should delete records from the db');

    it('should bind the sql with params from a string', function(){

      var duck = require('./../../index');
      var saltyDuck = duck.init(testConfig.CONFIG_NO_SEASONINGS, 'sql');

      var sqlObjects =  saltyDuck
          .loadSqlObjects('/tests/sql/sometest.sql.js')
          .select('').where('');

      var sqlObjects =  saltyDuck
          .loadSqlObjects('/tests/sql/sometest.sql.js')
          .select('').where('');


    });
    it('should bind the sql with params from an array');
    it('should bind the sql with params from an object');

  });

});
{'fraction_non_alphanumeric': 0.1515469323544835, 'fraction_numerical': 0.0, 'mean_word_length': 3.386206896551724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7621269', 'n_tokens_mistral': 560, 'n_tokens_neox': 535, 'n_words': 196}