diff --git a/activerecord/test/cases/encryption/encryptable_record_test.rb b/activerecord/test/cases/encryption/encryptable_record_test.rb index e31f12e852..27c274ec76 100644 --- a/activerecord/test/cases/encryption/encryptable_record_test.rb +++ b/activerecord/test/cases/encryption/encryptable_record_test.rb @@ -242,7 +242,7 @@ class ActiveRecord::Encryption::EncryptableRecordTest < ActiveRecord::Encryption # Only run for adapters that add a default string limit when not provided (MySQL, 255) if EncryptedAuthor.columns_hash["name"].limit - # No column limits in SQLLite + # No column limits in SQLite test "validate column sizes" do assert EncryptedAuthor.new(name: "jorge").valid? assert_not EncryptedAuthor.new(name: "a" * 256).valid? diff --git a/activerecord/test/cases/encryption/encrypted_fixtures_test.rb b/activerecord/test/cases/encryption/encrypted_fixtures_test.rb index d7a78032bd..bbd1d4372f 100644 --- a/activerecord/test/cases/encryption/encrypted_fixtures_test.rb +++ b/activerecord/test/cases/encryption/encrypted_fixtures_test.rb @@ -4,6 +4,8 @@ require "cases/encryption/helper" require "models/book_encrypted" class ActiveRecord::Encryption::EncryptableFixtureTest < ActiveRecord::EncryptionTestCase + self.use_transactional_tests = false + fixtures :encrypted_books, :encrypted_book_that_ignores_cases test "fixtures get encrypted automatically" do