X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/365e79dc8fdeeed324c3e6f4f20ce200f4d28c3c..14c8fb3d5ae381e6bc0609530209ee7f7a584fe3:/services/api/test/integration/cross_origin_test.rb diff --git a/services/api/test/integration/cross_origin_test.rb b/services/api/test/integration/cross_origin_test.rb index e3099f1573..6a3db89fc4 100644 --- a/services/api/test/integration/cross_origin_test.rb +++ b/services/api/test/integration/cross_origin_test.rb @@ -5,10 +5,10 @@ require 'test_helper' class CrossOriginTest < ActionDispatch::IntegrationTest - def options *args + def options path, **kwargs # Rails doesn't support OPTIONS the same way as GET, POST, etc. reset! unless integration_session - integration_session.__send__(:process, :options, *args).tap do + integration_session.__send__(:process, :options, path, **kwargs).tap do copy_session_variables! end end