spec/requests/api/v1/flickr_profiles_spec.rb
Prefer response.parsed_body
to JSON.parse(response.body)
. Open
Open
expect(JSON.parse(response.body).last).to match(hash_including('name' => 'profile2', 'id' => '2', 'profile_type' => 'group'))
- Exclude checks
Prefer response.parsed_body
to JSON.parse(response.body)
. Open
Open
expect(JSON.parse(response.body).first).to match(hash_including('name' => 'profile1', 'id' => '1', 'profile_type' => 'user'))
- Exclude checks
Prefer response.parsed_body
to JSON.parse(response.body)
. Open
Open
expect(JSON.parse(response.body)).to match(hash_including('name' => 'commercegov', 'id' => '61913304@N07', 'profile_type' => 'user'))
- Exclude checks