Skip to content

Commit

Permalink
Add contains exactly and match array expectations (#2106)
Browse files Browse the repository at this point in the history
  • Loading branch information
DArrigoni authored Feb 14, 2024
1 parent 6fbdf3e commit c7d50cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rspec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7d50cd

Please sign in to comment.