projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '14328-watch-docker-ps'
[arvados.git]
/
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 ee2f699339f8a66fbc2efc6bd457b33b8c41411f..5109ea46a642a0853528d40986c2314610f050a1 100644
(file)
--- a/
services/api/test/integration/cross_origin_test.rb
+++ b/
services/api/test/integration/cross_origin_test.rb
@@
-36,11
+36,11
@@
class CrossOriginTest < ActionDispatch::IntegrationTest
['/arvados/v1/collections',
'/arvados/v1/users',
'/arvados/v1/api_client_authorizations'].each do |path|
['/arvados/v1/collections',
'/arvados/v1/users',
'/arvados/v1/api_client_authorizations'].each do |path|
- test "CORS headers are set and body is
stub
at OPTIONS #{path}" do
+ test "CORS headers are set and body is
empty
at OPTIONS #{path}" do
options path, {}, {}
assert_response :success
assert_cors_headers
options path, {}, {}
assert_response :success
assert_cors_headers
- assert_equal '
-
', response.body
+ assert_equal '', response.body
end
test "CORS headers are set at authenticated GET #{path}" do
end
test "CORS headers are set at authenticated GET #{path}" do