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.25 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.24 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.23 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.22 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.21 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.20 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.19 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.18 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.17 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.16 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.15 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.14 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.13 test/queries/workarea/search/product_entries_test.rb
workarea-core-3.4.12 test/queries/workarea/search/product_entries_test.rb