vets-api icon indicating copy to clipboard operation
vets-api copied to clipboard

Add Unit Tests for AppealsApi AMS Serializers

Open stevenjcumming opened this issue 9 months ago • 0 comments

Summary

  • Add more test examples for missing attributes
  • Update the spec to test against the JSON:API specifications

Related issue(s)

  • https://github.com/department-of-veterans-affairs/va.gov-team/issues/83613

Testing done

  • [x] Add more test examples for missing attributes

Screenshots

Screenshot 2024-05-21 at 6 07 38 PM

Acceptance criteria

  • [x] unit test coverage is 100%

Requested Feedback

Should this example test the strings are in the right format (e.g., ISO 8601)

expect(rendered_hash[:updated_at].to_s).to eq evidence_submission.updated_at.to_s

stevenjcumming avatar May 21 '24 22:05 stevenjcumming