message: Add test case for coalescing addRecord and updateRecord
diff: @@ -197,6 +197,45 @@ module('Operation', function () {
  );
  });
  + test('can coalesce addRecord + updateRecord for the same record', function (assert) {
  + assert.deepEqual(
  + coalesceRecordOperations([
  + {
  + op: 'addRecord',
  + record: { type: 'contact', id: '1234' }
  + },
  + {
  + op: 'updateRecord',
  + record: {
  + attributes: { name: 'Joe' },
  + id: '1234',
  + relationships: {
  + address: {
  + data: { type: 'address', id: 'abc' }
  + }
  + },
  + type: 'contact'
  + }
  + }
  + ]),
  + [
  + {
  + op: 'addRecord',
  + record: {
  + type: 'contact',
  + id: '1234',
  + attributes: { name: 'Joe' },
  + relationships: {
  + address: {
  + data: { type: 'address', id: 'abc' }
  + }
  + }
  + }
  + }
  + ]
  + );
  + });
  +
  test('can coalesce replaceAttribute + replaceRelatedRecord with null', function (assert) {
  assert.deepEqual(
  coalesceRecordOperations([
  