test/post_test.rb in fakes3-1.1.0 vs test/post_test.rb in fakes3-1.2.0
- old
+ new
@@ -13,10 +13,10 @@
def test_options
RestClient.options(@url) do |response|
assert_equal(response.code, 200)
assert_equal(response.headers[:access_control_allow_origin],"*")
assert_equal(response.headers[:access_control_allow_methods], "PUT, POST, HEAD, GET, OPTIONS")
- assert_equal(response.headers[:access_control_allow_headers], "Accept, Content-Type, Authorization, Content-Length, ETag, X-CSRF-Token")
+ assert_equal(response.headers[:access_control_allow_headers], "Accept, Content-Type, Authorization, Content-Length, ETag, X-CSRF-Token, Content-Disposition")
assert_equal(response.headers[:access_control_expose_headers], "ETag")
end
end
def test_redirect