Skip to content

Commit

Permalink
Update json test expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
seth-admittedly committed Nov 4, 2014
1 parent b034c26 commit e77986c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/postgres/dao.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (dialect.match(/^postgres/)) {
username: 'bob',
emergency_contact: { name: 'joe', phones: [1337, 42] }
}).on('sql', function (sql) {
var expected = 'INSERT INTO "Users" ("id","username","document","emergency_contact","createdAt","updatedAt") VALUES (DEFAULT,\'bob\',\'"default"=>"value"\',\'{"name":"joe","phones":[1337,42]}\''
var expected = 'INSERT INTO "Users" ("id","username","document","emergency_contact","createdAt","updatedAt") VALUES (DEFAULT,\'bob\',\'"default"=>"\'\'value\'\'"\',\'{"name":"joe","phones":[1337,42]}\''
expect(sql.indexOf(expected)).to.equal(0);
});
});
Expand Down

0 comments on commit e77986c

Please sign in to comment.