Skip to content

Commit

Permalink
fix test now that records do not show up in collections unless added …
Browse files Browse the repository at this point in the history
…to the store
  • Loading branch information
Erich Ocean committed Sep 30, 2008
1 parent a91a966 commit c9fbfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/controllers/object.rhtml
Expand Up @@ -250,7 +250,7 @@ Test.context("SC.ObjectController", {
var rcrds = Contact.collection();
cc.set('content', rcrds);
rcrds.refresh();
var single = Contact.create({'test' : 'NAME1', 'value' : 0});
var single = Contact.newRecord({'test' : 'NAME1', 'value' : 0});
rcrds.count().shouldEqual(1);
Expand Down

0 comments on commit c9fbfbd

Please sign in to comment.