mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Fixed default sort and added migration for shop_id => Integer
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :bike do
|
||||
sequence :shop_id do |n|
|
||||
"Shop ID #{n}"
|
||||
end
|
||||
sequence(:shop_id) {|n| n}
|
||||
sequence :serial_number do |n|
|
||||
"S/N# #{n}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user