aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/company.rb
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-05-24 18:34:59 +1200
committerMichael Koziarski <michael@koziarski.com>2008-05-24 18:34:59 +1200
commit6277fd91133a3566333612857510d74de60d67f4 (patch)
tree50293bf7a9a2ced9d1bf275b6ff5bca160d98fec /activerecord/test/models/company.rb
parent6cba97d2a449faf21aec9fe9d4434067e414226f (diff)
downloadrails-6277fd91133a3566333612857510d74de60d67f4.tar.gz
rails-6277fd91133a3566333612857510d74de60d67f4.tar.bz2
rails-6277fd91133a3566333612857510d74de60d67f4.zip
Fix faulty tests introduced in 8d0b4fa39
Diffstat (limited to 'activerecord/test/models/company.rb')
-rwxr-xr-xactiverecord/test/models/company.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/company.rb b/activerecord/test/models/company.rb
index cc521d2a02..70f83fa8e6 100755
--- a/activerecord/test/models/company.rb
+++ b/activerecord/test/models/company.rb
@@ -47,7 +47,7 @@ class Firm < Company
has_many :readonly_clients, :class_name => 'Client', :readonly => true
has_one :account, :foreign_key => "firm_id", :dependent => :destroy
- has_one :account_with_select, :foreign_key => "firm_id", :select => "id, firm_id"
+ has_one :account_with_select, :foreign_key => "firm_id", :select => "id, firm_id", :class_name=>'Account'
has_one :readonly_account, :foreign_key => "firm_id", :class_name => "Account", :readonly => true
end