Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #6076 from arunagw/build_fix_observed_classes

Build fix for observed_classes
  • Loading branch information...
commit 976b1709bab2150d28cdf65093cda8f2e40865fb 2 parents 2162d16 + f56d4de
@josevalim josevalim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/lifecycle_test.rb
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
Please sign in to comment.
Something went wrong with that request. Please try again.