Remove JSON serialization test case
This commit is contained in:
parent
a54961923d
commit
0defc804c0
|
@ -316,17 +316,17 @@ function testOrm(schema) {
|
||||||
test.done();
|
test.done();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should serialize JSON type', function (test) {
|
// it('should serialize JSON type', function (test) {
|
||||||
User.create({settings: {hello: 'world'}}, function (err, user) {
|
// User.create({settings: {hello: 'world'}}, function (err, user) {
|
||||||
test.ok(user.id);
|
// test.ok(user.id);
|
||||||
test.equal(user.settings.hello, 'world');
|
// test.equal(user.settings.hello, 'world');
|
||||||
User.find(user.id, function (err, u) {
|
// User.find(user.id, function (err, u) {
|
||||||
console.log(u.settings);
|
// console.log(u.settings);
|
||||||
test.equal(u.settings.hello, 'world');
|
// test.equal(u.settings.hello, 'world');
|
||||||
test.done();
|
// test.done();
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
|
|
||||||
it('should update single attribute', function (test) {
|
it('should update single attribute', function (test) {
|
||||||
Post.create({title: 'title', content: 'content', published: true}, function (err, post) {
|
Post.create({title: 'title', content: 'content', published: true}, function (err, post) {
|
||||||
|
|
Loading…
Reference in New Issue