fixup Update specs

Delete empty describe block
This commit is contained in:
David Cook
2023-08-08 13:34:29 +10:00
committed by Matt-Yorkley
parent 321047d663
commit a9ca07f4fb

View File

@@ -19,24 +19,6 @@ describe ProductComponent, type: :component do
end
end
describe 'category' do
let(:product) do
product = create(:simple_product)
product.taxons = taxons
product
end
let(:taxons) { [create(:taxon, name: 'random 1'), create(:taxon, name: 'random 2')] }
before do
render_inline(
ProductComponent.new(
product: product, columns: [{ label: "Category", value: "category", sortable: false }]
)
)
end
end
describe 'on_hand' do
let(:product) { create(:simple_product, on_hand: on_hand) }
let(:on_hand) { 5 }