diff options
-rw-r--r-- | activerecord/test/cases/locking_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/locking_test.rb b/activerecord/test/cases/locking_test.rb index d15f1fb8fb..43b3e0726d 100644 --- a/activerecord/test/cases/locking_test.rb +++ b/activerecord/test/cases/locking_test.rb @@ -27,7 +27,7 @@ class OptimisticLockingTest < ActiveRecord::TestCase p1 = Person.find(1) assert_equal 0, p1.lock_version - Person.expects(:quote_value).with(0, Person.columns_hash[Person.locking_column]).returns('0').once + p1.expects(:quote_value).with(0, Person.columns_hash[Person.locking_column]).returns('0').once p1.first_name = 'anika2' p1.save! |