Commit c1b2bb18 by liyijie

fix rspec send params

parent 846c9d86
......@@ -221,7 +221,7 @@ module RSpec
# Run the request
params = body || form_data
if ::Rails::VERSION::MAJOR >= 5
self.send(method, path, {params: params, headers: headers, env: env})
self.send(method, path, **{params: params, headers: headers, env: env})
else
self.send(method, path, params, headers.merge(env))
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment