diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-07-21 00:13:26 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-07-21 00:13:26 -0500 |
commit | 6944b391cddbf1a3ffb3ac4ac588fa4b3d50f430 (patch) | |
tree | edaeec7b2b30d0643f83043b1d56ecf2132fbc24 /activemodel/test/cases | |
parent | 48bc39e03a077ed9a0684a181c1180c7f53b0cad (diff) | |
download | rails-6944b391cddbf1a3ffb3ac4ac588fa4b3d50f430.tar.gz rails-6944b391cddbf1a3ffb3ac4ac588fa4b3d50f430.tar.bz2 rails-6944b391cddbf1a3ffb3ac4ac588fa4b3d50f430.zip |
Kill AMo Base
Diffstat (limited to 'activemodel/test/cases')
-rw-r--r-- | activemodel/test/cases/observing_test.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/activemodel/test/cases/observing_test.rb b/activemodel/test/cases/observing_test.rb index 564451fa2f..fbf93c19ef 100644 --- a/activemodel/test/cases/observing_test.rb +++ b/activemodel/test/cases/observing_test.rb @@ -1,6 +1,8 @@ require 'cases/helper' -class ObservedModel < ActiveModel::Base +class ObservedModel + include ActiveModel::Observing + class Observer end end @@ -17,7 +19,8 @@ class FooObserver < ActiveModel::Observer end end -class Foo < ActiveModel::Base +class Foo + include ActiveModel::Observing end class ObservingTest < ActiveModel::TestCase |