diff --git a/web/spec/requests/bands_api_spec.rb b/web/spec/requests/bands_api_spec.rb index b68fc3132..528ef656a 100644 --- a/web/spec/requests/bands_api_spec.rb +++ b/web/spec/requests/bands_api_spec.rb @@ -123,8 +123,8 @@ describe "Band API", :type => :api do error_msg["message"].should == ValidationMessages::GENRE_MINIMUM_NOT_MET end - it "should prevent bands with more than 1 genre" do - last_response = create_band(user, "My Band", "http://www.myband.com", "Bio", "Apex", "NC", "US", ["african", "country"], "www.photos.com", "www.logos.com") + it "should prevent bands with more than 3 genres" do + last_response = create_band(user, "My Band", "http://www.myband.com", "Bio", "Apex", "NC", "US", ["african", "country", "ambient", "asian"], "www.photos.com", "www.logos.com") last_response.status.should == 400 error_msg = JSON.parse(last_response.body) error_msg["message"].should == ValidationMessages::GENRE_LIMIT_EXCEEDED