mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
Louis | Remove failing autogenerated tests, fix bug where bike type wasn't saving
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :bike do
|
||||
log_number "1234"
|
||||
brand "Windsor"
|
||||
model "Clockwork"
|
||||
bike_type "Fixed Gear"
|
||||
color "Black"
|
||||
serial_number "12345678"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :user do
|
||||
email "user@example.com"
|
||||
password "password"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user