features/support/db/fixtures/robots.rb in moneypools-thinking-sphinx-1.2.13 vs features/support/db/fixtures/robots.rb in moneypools-thinking-sphinx-1.3.1

- old
+ new

@@ -1,7 +1,7 @@ # Reset the primary key to allow us to create robots with specific internal_ids class Robot < ActiveRecord::Base - set_primary_key :id + set_primary_key :alternate_primary_key end Robot.create :name => 'Fritz', :internal_id => 'F0001' Robot.create :name => 'Sizzle', :internal_id => 'S0001' Robot.create :name => 'Sizzle Jr.', :internal_id => 'S0002'