According to the Rails Edge Guide all ActionDispatch::IntegrationTest HTTP requests take optional named keyword arguments:
get post_url, params: { id: 12 }, se
I think you can do as this:
delete cart_url(@cart), params: { 'session' => { :cart_id => @cart.id }}