Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Dec 24, 2023
1 parent 3c88ce8 commit d7c0755
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/active_storage_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ class ActiveStorageTest < Minitest::Test
def setup
skip unless defined?(ActiveStorage)

ActiveStorage::VariantRecord.delete_all
if ActiveStorage::VERSION::STRING.to_f >= 6.1
ActiveStorage::VariantRecord.delete_all
end
ActiveStorage::Attachment.delete_all
ActiveStorage::Blob.delete_all
end
Expand Down

0 comments on commit d7c0755

Please sign in to comment.