X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b6a0ff1443bb40b52df7b30fd269aa6f05591b31..91dc5f1d7f5ad9eb2640f6089e2d0476cbf87c8e:/services/api/test/integration/errors_test.rb?ds=sidebyside diff --git a/services/api/test/integration/errors_test.rb b/services/api/test/integration/errors_test.rb index 3a58e4840b..984f81fe51 100644 --- a/services/api/test/integration/errors_test.rb +++ b/services/api/test/integration/errors_test.rb @@ -8,7 +8,7 @@ class ErrorsTest < ActionDispatch::IntegrationTest get path, {:format => :json}, auth(:active) assert_nil assigns(:objects) assert_nil assigns(:object) - assert_not_nil jresponse['errors'] + assert_not_nil json_response['errors'] assert_response 404 end end @@ -19,7 +19,7 @@ class ErrorsTest < ActionDispatch::IntegrationTest # Generally, new routes should appear under /arvados/v1/. If # they appear elsewhere, that might have been caused by default # rails generator behavior that we don't want. - assert_match(/^\/(|\*a|arvados\/v1\/.*|auth\/.*|login|logout|discovery\/.*|static\/.*|themes\/.*)(\(\.:format\))?$/, + assert_match(/^\/(|\*a|arvados\/v1\/.*|auth\/.*|login|logout|database\/reset|discovery\/.*|static\/.*|themes\/.*)(\(\.:format\))?$/, route.path.spec.to_s, "Unexpected new route: #{route.path.spec}") end