Add contains exactly and match array expectations (#2106)

This commit is contained in:
Drew Arrigoni 2024-02-14 15:40:15 -05:00 committed by GitHub
parent 6fbdf3efbe
commit c7d50cdbe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ expect(list).to have_at_least(2).things
expect(list).to have_at_most(3).things
expect(list).to have(2).errors_on(:field)
expect(list).to contain_exactly(1, 2)
expect(list).to match_array([1, 2])
```
### Change