aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/locking_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/locking_test.rb')
-rw-r--r--activerecord/test/locking_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/locking_test.rb b/activerecord/test/locking_test.rb
index 9a3b76e810..95bd517e76 100644
--- a/activerecord/test/locking_test.rb
+++ b/activerecord/test/locking_test.rb
@@ -14,7 +14,7 @@ class ReadonlyFirstNamePerson < Person
attr_readonly :first_name
end
-class OptimisticLockingTest < Test::Unit::TestCase
+class OptimisticLockingTest < ActiveSupport::TestCase
fixtures :people, :legacy_things
# need to disable transactional fixtures, because otherwise the sqlite3
@@ -176,7 +176,7 @@ end
# TODO: The SQL Server, Sybase, and OpenBase adapters currently have no support for pessimistic locking
unless current_adapter?(:SQLServerAdapter, :SybaseAdapter, :OpenBaseAdapter)
- class PessimisticLockingTest < Test::Unit::TestCase
+ class PessimisticLockingTest < ActiveSupport::TestCase
self.use_transactional_fixtures = false
fixtures :people, :readers