Sha256: c37d59e704b9131d1933d7f95bf7f815cc3b6b4530d8fadc458304c9dd330784
Contents?: true
Size: 326 Bytes
Versions: 9
Compression:
Stored size: 326 Bytes
Contents
require 'test_helper' module Workarea module Search class StorefrontTest < TestCase def test_active model = create_product(active: false) refute(Storefront.new(model).active[:now]) model.update!(active: true) assert(Storefront.new(model).active[:now]) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems