Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix broken test

quote_value is called on the object not the class
  • Loading branch information...
commit 1463fbeafb7b86e848a029407dc0719f89c1e216 1 parent b4dea61
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/locking_test.rb
View
2  activerecord/test/cases/locking_test.rb
@@ -27,7 +27,7 @@ def test_quote_value_passed_lock_col
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!
Please sign in to comment.
Something went wrong with that request. Please try again.