Skip to content

Commit

Permalink
updated the test for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
triptec committed Nov 27, 2013
1 parent 360962d commit 06055fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequelize.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () {
})

it('replaces named parameters with the passed object and ignore those which does not qualify', function(done) {
this.sequelize.query('select :one as foo, :two as bar, "00:00" as baz', null, { raw: true }, { one: 1, two: 2 }).success(function(result) {
this.sequelize.query('select :one as foo, :two as bar, \'00:00\' as baz', null, { raw: true }, { one: 1, two: 2 }).success(function(result) {
expect(result).to.deep.equal([{ foo: 1, bar: 2, baz: '00:00' }])
done()
})
Expand Down

0 comments on commit 06055fd

Please sign in to comment.