You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

14 lines
318 B

'use strict';
var assert = require('assert');
var Table = require(__dirname + '/../lib/table');
var Foo = Table.define({
name: 'foo',
columns: ['baz','bar']
});
test('operators', function() {
assert.equal(Foo.bar.isNull().operator, 'IS NULL');
assert.equal(Foo.baz.isNotNull().operator, 'IS NOT NULL');
});