Skip to content

Commit

Permalink
Tempfile.open requires a name in Ruby 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeclaghorn committed Aug 4, 2018
1 parent 46025aa commit 3562b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activestorage/test/service/azure_storage_service_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ActiveStorage::Service::AzureStorageServiceTest < ActiveSupport::TestCase
key = SecureRandom.base58(24)
data = "Something else entirely!"

Tempfile.open do |file|
Tempfile.open("test") do |file|
file.write(data)
file.rewind
@service.upload(key, file)
Expand Down

0 comments on commit 3562b10

Please sign in to comment.