Skip to content

Commit 995d9fd

Browse files
committed
Test no longer need to be coerced
1 parent aa0d8ef commit 995d9fd

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/cases/coerced_tests.rb

-16
Original file line numberDiff line numberDiff line change
@@ -2587,22 +2587,6 @@ def invalid_add_column_option_exception_message(key)
25872587
end
25882588
end
25892589

2590-
# SQL Server does not support upsert. Removed dependency on `insert_all` that uses upsert.
2591-
class ActiveRecord::Encryption::ConcurrencyTest < ActiveRecord::EncryptionTestCase
2592-
undef_method :thread_encrypting_and_decrypting
2593-
def thread_encrypting_and_decrypting(thread_label)
2594-
posts = 100.times.collect { |index| EncryptedPost.create! title: "Article #{index} (#{thread_label})", body: "Body #{index} (#{thread_label})" }
2595-
2596-
Thread.new do
2597-
posts.each.with_index do |article, index|
2598-
assert_encrypted_attribute article, :title, "Article #{index} (#{thread_label})"
2599-
article.decrypt
2600-
assert_not_encrypted_attribute article, :title, "Article #{index} (#{thread_label})"
2601-
end
2602-
end
2603-
end
2604-
end
2605-
26062590
# Need to use `install_unregistered_type_fallback` instead of `install_unregistered_type_error` so that message-pack
26072591
# can read and write `ActiveRecord::ConnectionAdapters::SQLServer::Type::Data` objects.
26082592
class ActiveRecordMessagePackTest < ActiveRecord::TestCase

0 commit comments

Comments
 (0)