X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16f704326f44fd1e5e5e60b936c9b5895d6a6ff8..4ad6191d53207a8b2d4c0c8a30b18119daaa5fbc:/apps/workbench/test/integration/collection_upload_test.rb?ds=sidebyside diff --git a/apps/workbench/test/integration/collection_upload_test.rb b/apps/workbench/test/integration/collection_upload_test.rb index 608cd521de..43e7a22dc2 100644 --- a/apps/workbench/test/integration/collection_upload_test.rb +++ b/apps/workbench/test/integration/collection_upload_test.rb @@ -21,7 +21,7 @@ class CollectionUploadTest < ActionDispatch::IntegrationTest teardown do use_token :admin do @keep_services.each do |ks| - KeepService.find(ks.uuid).update_attributes(ks.attributes) + KeepService.find(ks.uuid).update(ks.attributes) end end testfiles.each do |filename, _| @@ -80,7 +80,7 @@ class CollectionUploadTest < ActionDispatch::IntegrationTest need_selenium "to make file uploads work" use_token :admin do KeepService.where(service_type: 'proxy').first. - update_attributes(service_ssl_flag: false) + update(service_ssl_flag: false) end visit page_with_token 'active', sandbox_path find('.nav-tabs a', text: 'Upload').click @@ -99,7 +99,7 @@ class CollectionUploadTest < ActionDispatch::IntegrationTest # Even if port 0 is a thing, surely nx.example.net won't # respond KeepService.where(service_type: 'proxy').first. - update_attributes(service_host: 'nx.example.net', + update(service_host: 'nx.example.net', service_port: 0) end visit page_with_token 'active', sandbox_path