Permalink
Browse files

Merge pull request #364 from lukemelia/committed-spelling-fix

Fix mispeling of committed that cauzes errers
  • Loading branch information...
wagenet committed Aug 17, 2012
2 parents ac36f45 + ac14060 commit 1e05cb7d688e5d8623d3c79d061a46dccbd0e794
@@ -4,7 +4,7 @@ DS.OneToManyChange = function(options) {
this.oldParent = options.oldParent;
this.child = options.child;
this.belongsToName = options.belongsToName;
- this.commited = {};
+ this.committed = {};
};
DS.OneToManyChange.create = function(options) {
@@ -76,7 +76,7 @@ test("should load data for a type asynchronously when it is requested", function
}, 1000);
});
-test("should create record asynchronously when it is commited", function() {
+test("should create record asynchronously when it is committed", function() {
stop();
var paul = store.createRecord(Person, {firstName: 'Paul', lastName: 'Chavard', height: 70});
@@ -98,7 +98,7 @@ test("should create record asynchronously when it is commited", function() {
}, 1000);
});
-test("should update record asynchronously when it is commited", function() {
+test("should update record asynchronously when it is committed", function() {
stop();
var paul = store.findByClientId(Person, store.load(Person, 1, {first_name: 'Paul', last_name: 'Chavard', height: 70}).clientId);
@@ -121,7 +121,7 @@ test("should update record asynchronously when it is commited", function() {
}, 1000);
});
-test("should delete record asynchronously when it is commited", function() {
+test("should delete record asynchronously when it is committed", function() {
stop();
var paul = store.findByClientId(Person, store.load(Person, 1, {first_name: 'Paul', last_name: 'Chavard', height: 70}).clientId);

0 comments on commit 1e05cb7

Please sign in to comment.