aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-06-07 20:45:23 +0100
committerJon Leighton <j@jonathanleighton.com>2012-06-07 20:45:23 +0100
commit68d3e1f42f7de671a07cf1eb9de577fa2f8c82f0 (patch)
tree6a56e44673800d5809469cf05a3f22eb60713ba9 /activerecord/test
parent959fb8ea651fa6638aaa7caced20d921ca2ea5c1 (diff)
downloadrails-68d3e1f42f7de671a07cf1eb9de577fa2f8c82f0.tar.gz
rails-68d3e1f42f7de671a07cf1eb9de577fa2f8c82f0.tar.bz2
rails-68d3e1f42f7de671a07cf1eb9de577fa2f8c82f0.zip
Make test cover previous reversion
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/associations/callbacks_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/associations/callbacks_test.rb b/activerecord/test/cases/associations/callbacks_test.rb
index 2d0d4541b4..532def45cd 100644
--- a/activerecord/test/cases/associations/callbacks_test.rb
+++ b/activerecord/test/cases/associations/callbacks_test.rb
@@ -139,6 +139,7 @@ class AssociationCallbacksTest < ActiveRecord::TestCase
assert activerecord.developers_with_callbacks.size == 2
end
log_array = activerecord.developers_with_callbacks.collect {|d| ["before_removing#{d.id}","after_removing#{d.id}"]}.flatten.sort
+ activerecord.reload
assert activerecord.developers_with_callbacks.clear
assert_equal log_array, activerecord.developers_log.sort
end