Sha256: 1e1f421904dbea56208c4c5a207b666d2aa791a6ada2a5b1895576c98a097592

Contents?: true

Size: 338 Bytes

Versions: 34

Compression:

Stored size: 338 Bytes

Contents

require 'test_helper'

module Workarea
  module Search
    class ProductEntriesTest < TestCase
      def test_entries
        products = Array.new(3) { create_product }

        assert_equal(1, ProductEntries.new(products.first).entries.size)
        assert_equal(3, ProductEntries.new(products).entries.size)
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-core-3.4.45 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.44 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.43 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.42 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.41 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.40 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.39 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.38 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.37 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.36 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.35 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.34 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.33 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.32 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.31 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.30 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.29 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.28 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.27 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.26 test/queries/workarea/search/product_entries_test.rb