Skip to content

Commit

Permalink
Add basename arg to Tempfile constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
joker1007 committed Jan 6, 2016
1 parent 4b78f99 commit db1ab7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/google/apis/core/upload_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@

context('with Tempfile input') do
let(:file) do
temp_file = Tempfile.new
temp_file = Tempfile.new("tempfile")
temp_file.write("Hello world\n")
temp_file.rewind
temp_file
Expand Down

0 comments on commit db1ab7d

Please sign in to comment.