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

Commit d5cc32a2 by Mick Hansen

fix virtual attribute test relying on a faulty assumption

1 parent e0340843
Showing with 2 additions and 0 deletions
......@@ -121,6 +121,8 @@ describe(Support.getTestDialectTeaser('Model'), function() {
expect(user.storage).to.equal('something');
return user.updateAttributes({
field1: 'something else'
}, {
fields: ['storage']
});
}).then(function(user) {
expect(user.virtualWithDefault).to.equal('cake');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!