vrfs-774: changed blank search critieria to allow multiple results
This commit is contained in:
parent
2783336e65
commit
673507458c
|
|
@ -23,7 +23,7 @@ describe "Musician Search API", :type => :api do
|
|||
get_query
|
||||
last_response.status.should == 200
|
||||
sobj = JSON.parse(last_response.body)
|
||||
sobj.count.should == 1
|
||||
sobj.count.should >= 1
|
||||
sobj['musicians'].count.should == [Search::M_PER_PAGE,
|
||||
User.where(:musician => true).count].min
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue