aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2012-04-30 11:03:25 +0530
committerArun Agrawal <arunagw@gmail.com>2012-04-30 11:03:25 +0530
commitf56d4de29c1d6f09f29797fb2fdfb9e010a9c2e2 (patch)
treea864c74eb71ca2d46229d8aa2a52751a3772f681 /activerecord/test
parentcb9f7f488a3be71ee4704a4e62f545ebd3f95310 (diff)
downloadrails-f56d4de29c1d6f09f29797fb2fdfb9e010a9c2e2.tar.gz
rails-f56d4de29c1d6f09f29797fb2fdfb9e010a9c2e2.tar.bz2
rails-f56d4de29c1d6f09f29797fb2fdfb9e010a9c2e2.zip
Build fix for observed_classes
introduced here bad44e4f8f690039bd0db92ac25f10af536c6e71
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/lifecycle_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/lifecycle_test.rb b/activerecord/test/cases/lifecycle_test.rb
index 75e5dfa49b..0b78f2e46b 100644
--- a/activerecord/test/cases/lifecycle_test.rb
+++ b/activerecord/test/cases/lifecycle_test.rb
@@ -137,7 +137,7 @@ class LifecycleTest < ActiveRecord::TestCase
def test_auto_observer
topic_observer = TopicaAuditor.instance
assert_nil TopicaAuditor.observed_class
- assert_equal [Topic], TopicaAuditor.instance.observed_classes.to_a
+ assert_equal [Topic], TopicaAuditor.observed_classes.to_a
topic = Topic.find(1)
assert_equal topic.title, topic_observer.topic.title