Bike database interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
329 B

FactoryGirl.define do
factory :bike do
sequence(:log_number)
brand "Schwinn"
model "Madison"
bike_type "Fixed Gear"
color "Yellow"
sequence(:serial_number)
sequence(:bike_index_id)
end
trait :sale do
purpose Bike::SALE
end
trait :freecyclery do
purpose Bike::FREECYCLERY
end
end