aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/test/cases/transaction_callbacks_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/cases/transaction_callbacks_test.rb b/activerecord/test/cases/transaction_callbacks_test.rb
index 6e6a9afeff..9846f5b12d 100644
--- a/activerecord/test/cases/transaction_callbacks_test.rb
+++ b/activerecord/test/cases/transaction_callbacks_test.rb
@@ -298,8 +298,7 @@ class SaveFromAfterCommitBlockTest < ActiveRecord::TestCase
self.table_name = :topics
after_commit :cache_topic, :on => :create
after_commit :call_update, :on => :update
- attr_accessor :cached
- attr_accessor :record_updated
+ attr_accessor :cached, :record_updated
def call_update
self.record_updated = true