test/fixtures/room.rb in composite_primary_keys-5.0.6 vs test/fixtures/room.rb in composite_primary_keys-5.0.8
- old
+ new
@@ -4,8 +4,8 @@
has_many :room_assignments, :foreign_key => [:dorm_id, :room_id]
has_many :room_attribute_assignments, :foreign_key => [:dorm_id, :room_id]
has_many :room_attributes, :through => :room_attribute_assignments
def find_custom_room_attributes
- room_attributes.find(:all, :conditions => ["room_attributes.name != ?", "keg"])
+ room_attributes.find(:all, :conditions => ["room_attributes.name != ?", "type"])
end
end