aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/callbacks_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-01 14:10:11 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-01 14:10:11 -0300
commitc42aeace12a0e6e9b4e3bea3770f906884cc5b21 (patch)
tree9e452834f48627362c87d27e854805aca4a881e5 /activerecord/test/cases/associations/callbacks_test.rb
parent372e28ce227f3d46604f1b11a1f6c746d227e875 (diff)
downloadrails-c42aeace12a0e6e9b4e3bea3770f906884cc5b21.tar.gz
rails-c42aeace12a0e6e9b4e3bea3770f906884cc5b21.tar.bz2
rails-c42aeace12a0e6e9b4e3bea3770f906884cc5b21.zip
Remove unused variable
Diffstat (limited to 'activerecord/test/cases/associations/callbacks_test.rb')
-rw-r--r--activerecord/test/cases/associations/callbacks_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/callbacks_test.rb b/activerecord/test/cases/associations/callbacks_test.rb
index 968f36e92c..5b7e462f64 100644
--- a/activerecord/test/cases/associations/callbacks_test.rb
+++ b/activerecord/test/cases/associations/callbacks_test.rb
@@ -159,7 +159,7 @@ class AssociationCallbacksTest < ActiveRecord::TestCase
activerecord.reload
assert activerecord.developers_with_callbacks.size == 2
end
- log_array = activerecord.developers_with_callbacks.flat_map {|d| ["before_removing#{d.id}","after_removing#{d.id}"]}.sort
+ activerecord.developers_with_callbacks.flat_map {|d| ["before_removing#{d.id}","after_removing#{d.id}"]}.sort
assert activerecord.developers_with_callbacks.clear
assert_predicate activerecord.developers_log, :empty?
end