We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4245575 commit 540d42cCopy full SHA for 540d42c
test/row_locking_test_methods.rb
@@ -17,7 +17,7 @@ def self.shutdown; CreateEntries.down end
17
# Simple SELECT ... FOR UPDATE test
18
def test_select_all_for_update
19
@row1_id = Entry.create!(:title => "row1").id
20
- all_locked = Entry.lock(true).load.map(&:id)
+ all_locked_ids = Entry.lock(true).load.map(&:id)
21
assert all_locked_ids.include?(@row1_id)
22
end
23
0 commit comments