Created
December 21, 2020 18:46
-
-
Save ahmad19/a422b7946decdc1ecdda0cc1583e7370 to your computer and use it in GitHub Desktop.
Rspec expect to match only few attributes in the response body
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expect(response.parsed_body['data']).to(include( | |
'active' => true, | |
'name' => 'some group', | |
'once_per_user' => true | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment