Permalink
Browse files

Merge pull request #414 from pangratz/fix_invalid_test

Fix missing test statement and change misguiding message in assertions
  • Loading branch information...
2 parents aa83794 + 0672997 commit 0396411e39df96c8506de3182c81414c1d0eb981 @wycats wycats committed Oct 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 packages/ember-data/tests/unit/record_array_test.js
View
4 packages/ember-data/tests/unit/record_array_test.js
@@ -105,8 +105,8 @@ test("a record array should be able to be enumerated in any order", function() {
var recordArray = store.all(Person);
- equal(get(recordArray.objectAt(2), 'id'), 3, "should retrieve correct record at index 3");
- equal(get(recordArray.objectAt(0), 'id'), 1, "should retrieve correct record at index 0");
+ equal(get(recordArray.objectAt(2), 'id'), 3, "should retrieve correct record at index 2");
+ equal(get(recordArray.objectAt(1), 'id'), 2, "should retrieve correct record at index 1");
equal(get(recordArray.objectAt(0), 'id'), 1, "should retrieve correct record at index 0");
});

0 comments on commit 0396411

Please sign in to comment.