mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add missing require to inheritance test
This commit is contained in:
parent
1e703f5d41
commit
e632d035db
2 changed files with 1 additions and 3 deletions
|
@ -12,13 +12,13 @@ require 'models/minimalistic'
|
|||
require 'models/warehouse_thing'
|
||||
require 'models/parrot'
|
||||
require 'models/minivan'
|
||||
require 'models/owner'
|
||||
require 'models/person'
|
||||
require 'models/pet'
|
||||
require 'models/toy'
|
||||
require 'rexml/document'
|
||||
|
||||
class PersistencesTest < ActiveRecord::TestCase
|
||||
|
||||
fixtures :topics, :companies, :developers, :projects, :computers, :accounts, :minimalistics, 'warehouse-things', :authors, :categorizations, :categories, :posts, :minivans, :pets, :toys
|
||||
|
||||
# Oracle UPDATE does not support ORDER BY
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class Pet < ActiveRecord::Base
|
||||
|
||||
attr_accessor :current_user
|
||||
|
||||
self.primary_key = :pet_id
|
||||
|
@ -13,5 +12,4 @@ class Pet < ActiveRecord::Base
|
|||
after_destroy do |record|
|
||||
Pet.after_destroy_output = record.current_user
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue