From 5af003e5b918b5fbfa86266b455b593a6f33fa68 Mon Sep 17 00:00:00 2001 From: Jonathan Kolyer Date: Mon, 13 Jan 2014 03:41:53 -0600 Subject: [PATCH] vrfs-988: fixed broken musician filter test --- web/spec/requests/musician_search_api_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/spec/requests/musician_search_api_spec.rb b/web/spec/requests/musician_search_api_spec.rb index 99c87588b..284a7f596 100644 --- a/web/spec/requests/musician_search_api_spec.rb +++ b/web/spec/requests/musician_search_api_spec.rb @@ -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