Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmabuada committed Nov 28, 2016
1 parent 05b3e52 commit c7ee98c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/elastic/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const db = require('../services/db'),
log = require('../services/log').withStandardPrefix(__dirname);

/**
* Used to test types
* Used to test Elasticsearch data types
*
* @type {Array}
*/
Expand All @@ -29,7 +29,7 @@ _.mixin(require('lodash-ny-util'));

/**
* A function which returns a function to help
* compare two values. Pass in the value you exect
* compare two values. Pass in the value you expect
* and then invoke the function with the value you're
* testing as the new argument.
*
Expand Down
4 changes: 2 additions & 2 deletions lib/elastic/helpers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ describe(_.startCase(filename), function () {
batchOps = [{
type: 'put',
key: 'localhost/components/foo/instances/xyz',
value: '{"propertyName":""}'
value: { propertyName:'' }
}],
mappings = {
myIndex: {
Expand Down Expand Up @@ -279,7 +279,7 @@ describe(_.startCase(filename), function () {
it('converts a string to a date', function () {
let ops = [{ type: 'put',
key: 'localhost/components/foo/instances/xyz',
value: { date: 'Mon Nov 28 2016'}
value: { date: 'Mon Nov 28 2016' }
}];

fn('date', ops);
Expand Down

0 comments on commit c7ee98c

Please sign in to comment.