diff options
author | José Valim <jose.valim@gmail.com> | 2009-12-23 12:28:02 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-12-23 12:28:02 +0100 |
commit | e31077c9aaec05bdf5ea0386eb42fcc039d86a0a (patch) | |
tree | 8ff0643551379c775d597c026bc1955caea6c338 /activemodel/test/models | |
parent | 44cd9e0e7132abe632664377f13f3edd1106685a (diff) | |
download | rails-e31077c9aaec05bdf5ea0386eb42fcc039d86a0a.tar.gz rails-e31077c9aaec05bdf5ea0386eb42fcc039d86a0a.tar.bz2 rails-e31077c9aaec05bdf5ea0386eb42fcc039d86a0a.zip |
Small clean up in Naming and TTranslation tests.
Diffstat (limited to 'activemodel/test/models')
-rw-r--r-- | activemodel/test/models/person.rb | 4 | ||||
-rw-r--r-- | activemodel/test/models/track_back.rb | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/activemodel/test/models/person.rb b/activemodel/test/models/person.rb index d98420f900..fad29a51ec 100644 --- a/activemodel/test/models/person.rb +++ b/activemodel/test/models/person.rb @@ -1,5 +1,9 @@ class Person include ActiveModel::Validations + extend ActiveModel::Translation attr_accessor :title, :karma end + +class Child < Person +end diff --git a/activemodel/test/models/track_back.rb b/activemodel/test/models/track_back.rb new file mode 100644 index 0000000000..d137e4ff8f --- /dev/null +++ b/activemodel/test/models/track_back.rb @@ -0,0 +1,4 @@ +class Post + class TrackBack + end +end
\ No newline at end of file |