From 3e106dc7f5fbd6961c67f41aea66033c27b5142f Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 18 Mar 2023 12:15:43 -0600 Subject: AƱade spec de products_controller#show MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/factories/product.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/factories') 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) } -- cgit v1.2.3