Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add failing test

adding multiple properties on previously null objects fails
with 'Error: have conflicting mods in update'
  • Loading branch information...
commit ee5950bdef43b36c613ab7b6d10d1dbfb0fa9e7c 1 parent edafcf6
@aheckmann aheckmann authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/model.test.js
View
5 test/model.test.js
@@ -2814,7 +2814,8 @@ module.exports = {
var schema = new Schema({
nest: {
- st: String
+ st: String
+ , yep: String
}
});
@@ -2826,7 +2827,7 @@ module.exports = {
t.save(function (err) {
should.strictEqual(err, null);
- t.nest = { st: "jsconf rules" };
+ t.nest = { st: "jsconf rules", yep: "it does" };
t.save(function (err) {
should.strictEqual(err, null);
Please sign in to comment.
Something went wrong with that request. Please try again.