Skip to content

Commit

Permalink
Fix indentation in models test
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Oct 7, 2015
1 parent 2984d95 commit 95512b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@
}
});
var model = new Model({x:0});
model.on('change:x', function () { attr++; });
model.on('change', function () { main++; });
model.set({x:2}, {validate:true});
model.set({x:1}, {validate:true});
assert.deepEqual([attr, main, error], [1, 1, 1]);
model.on('change:x', function () { attr++; });
model.on('change', function () { main++; });
model.set({x:2}, {validate:true});
model.set({x:1}, {validate:true});
assert.deepEqual([attr, main, error], [1, 1, 1]);
});

QUnit.test("set triggers changes in the correct order", function(assert) {
Expand Down Expand Up @@ -1231,8 +1231,8 @@
.on('sync', function() { assert.ok(false); })
.on('destroy', function(){ assert.ok(true); })
.destroy({ success: function(){
assert.ok(true);
done();
assert.ok(true);
done();
}});
});

Expand Down

0 comments on commit 95512b0

Please sign in to comment.