Bump version to lock activesupport dependency, update tests to not use old APIs
[arvados.git] / spec / google / api_client / media_spec.rb
index f32b31efc0e553aa8a5bded9fa31137483b92c0c..944981b187d1978ff518d4b3cad92fd483bfa982 100644 (file)
@@ -114,7 +114,7 @@ RSpec.describe Google::APIClient::ResumableUpload do
   end
 
   before do
-    @drive = CLIENT.discovered_api('drive', 'v1')
+    @drive = CLIENT.discovered_api('drive', 'v2')
     @file = File.expand_path('files/sample.txt', fixtures_path)
     @media = Google::APIClient::UploadIO.new(@file, 'text/plain')
     @uploader = Google::APIClient::ResumableUpload.new(