diff options
Diffstat (limited to 'actionview/test/fixtures/company.rb')
-rw-r--r-- | actionview/test/fixtures/company.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/actionview/test/fixtures/company.rb b/actionview/test/fixtures/company.rb deleted file mode 100644 index f3ac3642fa..0000000000 --- a/actionview/test/fixtures/company.rb +++ /dev/null @@ -1,9 +0,0 @@ -class Company < ActiveRecord::Base - has_one :mascot - self.sequence_name = :companies_nonstd_seq - - validates_presence_of :name - def validate - errors.add('rating', 'rating should not be 2') if rating == 2 - end -end |