Sha256: 29ff26bedcadf6a4efbc739c61fcdab0aae5baad54818a2c4d9d311e4774f261

Contents?: true

Size: 427 Bytes

Versions: 62

Compression:

Stored size: 427 Bytes

Contents

require 'test_helper'

module Workarea
  module Storefront
    class ProductsPerformanceTest < Workarea::PerformanceTest
      setup :setup_product

      def setup_product
        @product = create_complex_product
        3.times { create_category(product_ids: [@product.id]) }
      end

      def test_high_variant_count
        get storefront.product_path(@product)
        assert(response.ok?)
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.13 test/performance/workarea/storefront/products_performance_test.rb
workarea-storefront-3.4.12 test/performance/workarea/storefront/products_performance_test.rb