Fix media test case StringIO
This commit is contained in:
1 parent
a9d46c0359
commit
aa1eb64332
1 file changed
+1
-1
@@ -44,7 +44,7 @@ describe Google::APIClient::UploadIO do
|
||||
describe 'with StringIO' do
|
||||
before do
|
||||
@content = "hello world"
|
||||
@media = Google::APIClient::UploadIO.new(StringIO.new(@content), 'text/plain')
|
||||
@media = Google::APIClient::UploadIO.new(StringIO.new(@content), 'text/plain', 'test.txt')
|
||||
end
|
||||
|
||||
it 'should report the correct file length' do
|
||||
|
||||
Reference in new issue
Block a user