X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/10fb373e5e1fe6582e43f72556e5b15f86e6c20a..ca8e1bf18822e77acda9437c9980d5359894a502:/vendor/plugins/classic_pagination/test/fixtures/company.rb diff --git a/vendor/plugins/classic_pagination/test/fixtures/company.rb b/vendor/plugins/classic_pagination/test/fixtures/company.rb deleted file mode 100644 index 0d1c29b90..000000000 --- a/vendor/plugins/classic_pagination/test/fixtures/company.rb +++ /dev/null @@ -1,9 +0,0 @@ -class Company < ActiveRecord::Base - 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