summaryrefslogtreecommitdiff
path: root/spec/factories/product.rb
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-18 12:15:43 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-18 12:15:43 -0600
commit3e106dc7f5fbd6961c67f41aea66033c27b5142f (patch)
tree1cc3c2046a506e8d0bba7cfa300c8d0734cce6ae /spec/factories/product.rb
parent717fa996842012a8666bcff985218c2abddd9991 (diff)
Añade spec de products_controller#show
Diffstat (limited to 'spec/factories/product.rb')
-rw-r--r--spec/factories/product.rb2
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) }