Sha256: 3dfae66d167633d009d5e8ca3fef7743001ceb5ef27e5250b717b697d5ac5cac
Contents?: true
Size: 371 Bytes
Versions: 62
Compression:
Stored size: 371 Bytes
Contents
require 'test_helper' require 'workarea/lint' module Workarea class Lint load_lints class ProductsMissingVariantsTest < TestCase def test_warns_for_each_product_missing_variants 3.times { create_product(variants: []) } lint = ProductsMissingVariants.new lint.run assert_equal(3, lint.errors) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems