diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-03 14:48:57 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-03 14:48:57 -0300 |
commit | e632d035db36092236f01ab1553405de65245d64 (patch) | |
tree | 1846a2a575e007d5b409bcf67053764396b498ef | |
parent | 1e703f5d41ee6b1d52aababa04ed9bb094ad2533 (diff) | |
download | rails-e632d035db36092236f01ab1553405de65245d64.tar.gz rails-e632d035db36092236f01ab1553405de65245d64.tar.bz2 rails-e632d035db36092236f01ab1553405de65245d64.zip |
Add missing require to inheritance test
-rw-r--r-- | activerecord/test/cases/persistence_test.rb | 2 | ||||
-rw-r--r-- | activerecord/test/models/pet.rb | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/cases/persistence_test.rb b/activerecord/test/cases/persistence_test.rb index 572431ee87..db3bb56f1f 100644 --- a/activerecord/test/cases/persistence_test.rb +++ b/activerecord/test/cases/persistence_test.rb @@ -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 diff --git a/activerecord/test/models/pet.rb b/activerecord/test/models/pet.rb index 3cd5bceed5..f7970d7aab 100644 --- a/activerecord/test/models/pet.rb +++ b/activerecord/test/models/pet.rb @@ -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 |