mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-19 20:08:31 -05:00
adding correct number of expected assertions to nested change events model test
This commit is contained in:
@@ -495,8 +495,7 @@ $(document).ready(function() {
|
||||
notEqual(Child.prototype.instancePropDiff, undefined);
|
||||
});
|
||||
|
||||
//FIXME: can't predict the number of expectations
|
||||
test("Model: Nested change events don't clobber previous attributes", function() {
|
||||
test("Model: Nested change events don't clobber previous attributes", 4, function() {
|
||||
var A = Backbone.Model.extend({
|
||||
initialize: function() {
|
||||
this.on("change:state", function(a, newState) {
|
||||
|
||||
Reference in New Issue
Block a user