Sha256: acd979a497eb7d596e72e5a0935d46198b8e1535143c004ff303e122b27cf0a6
Contents?: true
Size: 459 Bytes
Versions: 3
Compression:
Stored size: 459 Bytes
Contents
require 'test_helper' module Workarea class ProductQuickviewTest < TestCase def test_quickview Workarea.with_config do |config| config.product_templates = %i(generic package) config.product_quickview_templates = %i(generic) product = create_product product.template = 'generic' assert product.quickview? product.template = 'package' refute product.quickview? end end end end
Version data entries
3 entries across 3 versions & 1 rubygems