21700: Install Bundler system-wide in Rails postinst
[arvados.git] / services / api / test / integration / http_quirks_test.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 require 'test_helper'
6
7 class HttpQuirksTest < ActionDispatch::IntegrationTest
8   fixtures :all
9
10   test "GET request with empty Content-Type header" do
11     authorize_with :active
12     get "/arvados/v1/collections",
13         headers: auth(:active).merge("Content-Type" => "")
14     assert_response :success
15   end
16 end