From 94b62079102cace91e3414a136da748f78d8e6c5 Mon Sep 17 00:00:00 2001 From: Aditya Kapoor Date: Sat, 28 Jun 2014 22:27:06 +0530 Subject: remove unneeded test model for ActiveModel test cases. --- activemodel/test/models/automobile.rb | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 activemodel/test/models/automobile.rb (limited to 'activemodel/test/models') 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 -- cgit v1.2.3