不要怂,就是干,撸起袖子干!

Commit e95823bf by Scott Tadman

Adding additional test coverage for $1 type values

1 parent 2692a95d
......@@ -243,7 +243,7 @@ if (dialect.match(/^postgres/)) {
it('should be able to store values that require JSON escaping', function() {
var self = this;
var text = "Multi-line '$string' needing \"escaping\" for $$";
var text = "Multi-line '$string' needing \"escaping\" for $$ and $1 type values";
return this.User.create({ username: 'swen', emergency_contact: { value: text } })
.then(function(user) {
......@@ -262,7 +262,7 @@ if (dialect.match(/^postgres/)) {
it('should be able to findOrCreate with values that require JSON escaping', function() {
var self = this;
var text = "Multi-line '$string' needing \"escaping\" for $$";
var text = "Multi-line '$string' needing \"escaping\" for $$ and $1 type values";
return this.User.findOrCreate({ where: { username: 'swen' }, defaults: { emergency_contact: { value: text } } })
.then(function(user) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!