diff options
Diffstat (limited to 'spec/factories/product.rb')
-rw-r--r-- | spec/factories/product.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/product.rb b/spec/factories/product.rb index ab65cd0..abdf4bc 100644 --- a/spec/factories/product.rb +++ b/spec/factories/product.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true FactoryBot.define do - factory :company, class: 'Company' do + factory :product, class: 'Product' do name { Faker::Commerce.product_name } unitary_price { rand(1000.0) } bulk_price { rand(1000.0) } |