# spec/factories.rb

FactoryGirl.define do
  factory :fee do
    garage { FactoryGirl.create(:garage) }
    name   Faker::Commerce.department
    price  Faker::Number.number(3)
  end
end

# spec/factories.rb

FactoryGirl.define do
  factory :fee do
    garage { FactoryGirl.create(:garage) }
    name   Faker::Commerce.department
    price  Faker::Commerce.price
  end
end

Change type faker price generate.
Change type faker price generate.
