Skip to content
Browse files

Build fix for observed_classes

introduced here
bad44e4
  • Loading branch information...
1 parent cb9f7f4 commit f56d4de29c1d6f09f29797fb2fdfb9e010a9c2e2 @arunagw arunagw committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/lifecycle_test.rb
View
2 activerecord/test/cases/lifecycle_test.rb
@@ -137,7 +137,7 @@ def test_before_destroy
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

0 comments on commit f56d4de

Please sign in to comment.
Something went wrong with that request. Please try again.