X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/385d9ac5f47bec5c5a5fc9770c74b1a7d8dd2974..ff843a40de882d22dd2a5e408c77a2fa4720cc7d:/services/api/test/integration/collections_api_test.rb diff --git a/services/api/test/integration/collections_api_test.rb b/services/api/test/integration/collections_api_test.rb index baca6e2781..1ac5eb5c74 100644 --- a/services/api/test/integration/collections_api_test.rb +++ b/services/api/test/integration/collections_api_test.rb @@ -95,7 +95,7 @@ class CollectionsApiTest < ActionDispatch::IntegrationTest }, headers: auth(:active) assert_response 422 - assert_match(/Invalid attribute.*bogus/, json_response['errors'].join(' ')) + assert_match(/ArgumentError: Attribute selection list cannot be empty/, json_response['errors'].join(' ')) end test "get index with select= (invalid attribute type) responds 422" do @@ -106,7 +106,7 @@ class CollectionsApiTest < ActionDispatch::IntegrationTest }, headers: auth(:active) assert_response 422 - assert_match(/Invalid attribute.*bogus/, json_response['errors'].join(' ')) + assert_match(/ArgumentError: Attribute selection list cannot be empty/, json_response['errors'].join(' ')) end test "controller 404 response is json" do