Skip to content

Commit

Permalink
fix: hasMany update assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
bombguy authored and hein-j committed Jan 11, 2023
1 parent b25a562 commit 728e61a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ describe('UpdateForms', () => {
expect(record.ManyToManyTags[1].label).to.equal('Orange');
expect(record.BelongsToOwner.name).to.equal('George');
expect(record.HasManyStudents.length).to.equal(3);
expect(record.HasManyStudents[0].name).to.equal('David');
expect(record.HasManyStudents[0].name).to.equal('Matthew');
expect(record.HasManyStudents[0].allSupportedFormFieldsID).to.equal(record.id);
expect(record.HasManyStudents[1].name).to.equal('Matthew');
expect(record.HasManyStudents[1].name).to.equal('Sarah');
expect(record.HasManyStudents[1].allSupportedFormFieldsID).to.equal(record.id);
expect(record.HasManyStudents[2].name).to.equal('Sarah');
expect(record.HasManyStudents[2].name).to.equal('David');
expect(record.HasManyStudents[2].allSupportedFormFieldsID).to.equal(record.id);
});
});
Expand Down

0 comments on commit 728e61a

Please sign in to comment.