aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2012-04-30 15:25:02 +0530
committerArun Agrawal <arunagw@gmail.com>2012-04-30 15:27:18 +0530
commit7f248076a3f0aee773bc4148009a30623efcf173 (patch)
tree0c40ef0b481e5c46405be31018f847108a61bbce /activemodel/test
parent81f6d7f2adb5347d3ce8e060e94dc94e42622875 (diff)
downloadrails-7f248076a3f0aee773bc4148009a30623efcf173.tar.gz
rails-7f248076a3f0aee773bc4148009a30623efcf173.tar.bz2
rails-7f248076a3f0aee773bc4148009a30623efcf173.zip
build fix for observing_test.rb
introduced here 17c990b153f8635874c006a7460ee95817543fc1
Diffstat (limited to 'activemodel/test')
-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