aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-29 18:08:07 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-29 18:08:07 -0300
commit74c31ac5fe44b2e2b46e660932e6ca266b11fd58 (patch)
tree04c5791505b47940452fa27dc3a68486877dcc11 /activemodel/test/models
parentc56997eb1b4005f59f63d9cb2203424c905cd4b8 (diff)
parent94b62079102cace91e3414a136da748f78d8e6c5 (diff)
downloadrails-74c31ac5fe44b2e2b46e660932e6ca266b11fd58.tar.gz
rails-74c31ac5fe44b2e2b46e660932e6ca266b11fd58.tar.bz2
rails-74c31ac5fe44b2e2b46e660932e6ca266b11fd58.zip
Merge pull request #15959 from aditya-kapoor/remove-unneeded-cases
remove unneeded test model for ActiveModel test cases.
Diffstat (limited to 'activemodel/test/models')
-rw-r--r--activemodel/test/models/automobile.rb13
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