rottentomatoes
rottentomatoes copied to clipboard
Fix results when searching by movie
When searching for movies by :title, we should return an array unless the user specifies a :limit of 1. The previous spec just happened to test a query that had more than one result ("Fight Club").
Test Plan:
rspec spec
NOTE:
imho, I think the API should always return an array when searching by :title
. Seems weird that the result type is different when a special :limit
is set.