Skip to content

Commit 1a0f85e

Browse files
committed
Fix ASt CI failure with rack-test 0.7.1
Due to rack/rack-test@5fd3631.
1 parent 125095c commit 1a0f85e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activestorage/test/models/attachments_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ActiveStorage::AttachmentsTest < ActiveSupport::TestCase
2727

2828
test "attach new blob from an UploadedFile" do
2929
file = file_fixture "racecar.jpg"
30-
@user.avatar.attach Rack::Test::UploadedFile.new file
30+
@user.avatar.attach Rack::Test::UploadedFile.new file.to_s
3131
assert_equal "racecar.jpg", @user.avatar.filename.to_s
3232
end
3333

0 commit comments

Comments
 (0)