Skip to content

Commit

Permalink
OEP-6982 unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
acroyear committed Aug 27, 2012
1 parent 3a98091 commit 3bc532b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ module("Server Data Replace, SC.ChildRecord", {
members: [
{
type: 'Person',
name: 'Willie'
name: 'Willie',
id: 1
}
]
},
Expand Down Expand Up @@ -162,7 +163,7 @@ test("Test Commit to server and new member addition",function() {
equals(realHash.members[0].name, testHash.members[0].name, "Smith Family Member 1 have the same name");
equals(realHash.members[0].id, testHash.members[0].id, "Smith Family Member 1 have the same id");
equals(realHash.members[1].name, testHash.members[1].name, "Smith Family Member 2 have the same name");
equals(realHash.members[1].id, testHash.members[1].id, "Smith Family Member 1 have the same id");
equals(realHash.members[1].id, testHash.members[1].id, "Smith Family Member 2 have the same id");
store.writeStatus(storeKeys[0], SC.Record.BUSY_LOADING);
store.dataSourceDidComplete(storeKeys[0], {
type: 'Family',
Expand Down

0 comments on commit 3bc532b

Please sign in to comment.