Started again with Rails 4
[feedcatcher.git] / vendor / rails / actionpack / test / fixtures / company.rb
diff --git a/vendor/rails/actionpack/test/fixtures/company.rb b/vendor/rails/actionpack/test/fixtures/company.rb
deleted file mode 100644 (file)
index cbbd0ed..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-class Company < ActiveRecord::Base
-  has_one :mascot
-  attr_protected :rating
-  set_sequence_name :companies_nonstd_seq
-
-  validates_presence_of :name
-  def validate
-    errors.add('rating', 'rating should not be 2') if rating == 2
-  end  
-end
\ No newline at end of file