Louis | Remove failing autogenerated tests, fix bug where bike type wasn't saving

This commit is contained in:
Loos
2014-09-17 09:12:16 -04:00
parent d3403e18cd
commit 4d49cf829f
18 changed files with 47 additions and 137 deletions
+6 -2
View File
@@ -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
+2 -2
View File
@@ -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