11060 - fix undefined method tax_category_options error in specs

This commit is contained in:
Ahmed Ejaz
2024-04-22 01:35:28 +05:00
committed by Rachel Arnould
parent aad48b4670
commit da34e7b780
2 changed files with 7 additions and 2 deletions

View File

@@ -24,7 +24,8 @@ module Admin
elsif product_set.errors.present?
@error_counts = { saved: product_set.saved_count, invalid: product_set.invalid.count }
render "index", status: :unprocessable_entity, locals: { producers:, categories:, flash: }
render "index", status: :unprocessable_entity,
locals: { producers:, categories:, tax_category_options:, flash: }
end
end