aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_update_manager.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-10-14 19:05:59 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-10-14 19:05:59 -0700
commitb64c886483e3ad2dc92bf54510cd481f9124fb69 (patch)
treebe8d358d6009dc28ac87ae838df3abfd44ed759b /test/test_update_manager.rb
parentbd6adc877af4687aec636f08e96e19785eea209d (diff)
downloadrails-b64c886483e3ad2dc92bf54510cd481f9124fb69.tar.gz
rails-b64c886483e3ad2dc92bf54510cd481f9124fb69.tar.bz2
rails-b64c886483e3ad2dc92bf54510cd481f9124fb69.zip
fix one deprecation warning
Diffstat (limited to 'test/test_update_manager.rb')
-rw-r--r--test/test_update_manager.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_update_manager.rb b/test/test_update_manager.rb
index 1dd881b259..f1a019970d 100644
--- a/test/test_update_manager.rb
+++ b/test/test_update_manager.rb
@@ -19,6 +19,7 @@ module Arel
it 'handles limit properly' do
table = Table.new(:users)
um = Arel::UpdateManager.new Table.engine
+ um.key = 'id'
um.take 10
um.table table
um.set [[table[:name], nil]]