spec/requests/api/v1/flickr_profiles_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Prefer response.parsed_body to JSON.parse(response.body).
Open

        expect(JSON.parse(response.body).last).to match(hash_including('name' => 'profile2', 'id' => '2', 'profile_type' => 'group'))

Prefer response.parsed_body to JSON.parse(response.body).
Open

        expect(JSON.parse(response.body).first).to match(hash_including('name' => 'profile1', 'id' => '1', 'profile_type' => 'user'))

Prefer response.parsed_body to JSON.parse(response.body).
Open

      expect(JSON.parse(response.body)).to match(hash_including('name' => 'commercegov', 'id' => '61913304@N07', 'profile_type' => 'user'))

There are no issues that match your filters.

Category
Status