Permalink
Browse files

Fix media test case StringIO

  • Loading branch information...
sqrrrl committed Jun 7, 2012
1 parent a9d46c0 commit aa1eb64332158807cc850c7d1b4ee38c96d48ce3
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/google/api_client/media_spec.rb
@@ -44,7 +44,7 @@
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

0 comments on commit aa1eb64

Please sign in to comment.