Sha256: 13355f234ab2c7aaba3b1473f5037f5c806af8bf225936df84637a41339613fe
Contents?: true
Size: 508 Bytes
Versions: 62
Compression:
Stored size: 508 Bytes
Contents
require 'test_helper' module Workarea module DataFile class OperationTest < TestCase def test_samples sample = [create_product, create_product] import = create_import(model_type: Workarea::Catalog::Product) assert_equal(Workarea.config.data_file_sample_size, import.samples.size) end def test_no_samples_available import = create_import(model_type: Workarea::Catalog::Product) assert_equal(0, import.samples.size) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems