diff options
author | Aditya Kapoor <aditya.kapoor@vinsol.com> | 2014-06-28 22:27:06 +0530 |
---|---|---|
committer | Aditya Kapoor <aditya.kapoor@vinsol.com> | 2014-06-28 22:27:06 +0530 |
commit | 94b62079102cace91e3414a136da748f78d8e6c5 (patch) | |
tree | b361de425978a565226a6c5a8adfd14ee41bccc9 /activemodel/test/models | |
parent | 13770587ef7f909e53a000bfae790f92576a3d93 (diff) | |
download | rails-94b62079102cace91e3414a136da748f78d8e6c5.tar.gz rails-94b62079102cace91e3414a136da748f78d8e6c5.tar.bz2 rails-94b62079102cace91e3414a136da748f78d8e6c5.zip |
remove unneeded test model for ActiveModel test cases.
Diffstat (limited to 'activemodel/test/models')
-rw-r--r-- | activemodel/test/models/automobile.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/activemodel/test/models/automobile.rb b/activemodel/test/models/automobile.rb deleted file mode 100644 index 4df2fe8b3a..0000000000 --- a/activemodel/test/models/automobile.rb +++ /dev/null @@ -1,13 +0,0 @@ -class Automobile - include ActiveModel::Validations - - validate :validations - - attr_accessor :make, :model, :approved - - def validations - validates_presence_of :make - validates_length_of :model, within: 2..10 - validates_acceptance_of :approved, allow_nil: false - end -end |