Sha256: 82c8d8c3c120884102d3708ff514e87e6c65846ae92020a30de2e9c710c3a658
Contents?: true
Size: 414 Bytes
Versions: 3
Compression:
Stored size: 414 Bytes
Contents
module Workarea module Admin class ProductsBadgingIntegrationTest def test_updates_a_product_with_custom_badges product = create_product(variants: []) patch admin.catalog_product_path(product), params: { product: { badges: ["Test", "Custom", "Badges"] } } product.reload assert_equal(["Test", "Custom", "Badges"], product.badges) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems