test/fixtures/department.rb in composite_primary_keys-14.0.3 vs test/fixtures/department.rb in composite_primary_keys-14.0.4

- old
+ new

@@ -11,6 +11,10 @@ has_one :head, :class_name => 'Employee', :autosave => true, :dependent => :delete, # We intentionally redefine primary key for test purposes. #455 :primary_key => [:id, :location_id], :foreign_key => [:department_id, :location_id] + has_one :head_without_autosave, :class_name => 'Employee', + # We intentionally redefine primary key for test purposes. #455 + :primary_key => [:id, :location_id], + :foreign_key => [:department_id, :location_id] end