vrfs-988: fixed broken musician filter test
This commit is contained in:
parent
c91940852b
commit
5af003e5b9
|
|
@ -53,13 +53,13 @@ describe "Musician Search API", :type => :api do
|
|||
it "gets musicians for default instrument" do
|
||||
get_query({:instrument => 'electric guitar'})
|
||||
good_response
|
||||
expect(json.count).to be >= 1
|
||||
expect(json['musicians'].count).to be >= 1
|
||||
end
|
||||
|
||||
it "gets no musicians for unused instruments" do
|
||||
get_query({:instrument => 'tuba'})
|
||||
good_response
|
||||
expect(json.count).to eq(0)
|
||||
expect(json['musicians'].count).to eq(0)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue