aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activemodel/test/cases/observing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/observing_test.rb b/activemodel/test/cases/observing_test.rb
index 3b636a6768..9891be8d77 100644
--- a/activemodel/test/cases/observing_test.rb
+++ b/activemodel/test/cases/observing_test.rb
@@ -113,7 +113,7 @@ class ObserverTest < ActiveModel::TestCase
test "tracks implicit observable models" do
instance = FooObserver.new
- assert_equal [Foo], old_instance.observed_classes
+ assert_equal [Foo], instance.observed_classes
end
test "tracks explicit observed model class" do