Sha256: c377bcd41f10270a44fc2161fe922df7dd907bfd17618d35900fb9347785df3c
Contents?: true
Size: 495 Bytes
Versions: 4
Compression:
Stored size: 495 Bytes
Contents
require 'test_helper' module Workarea decorate CategorizationTest, with: :listrak do def test_secondary product = create_product name: 'foo' categorization = Categorization.new(product) create_category product_ids: [product.id], created_at: 1.day.ago category_two = create_category product_ids: [product.id], created_at: 2.hours.ago create_category product_ids: [product.id] assert_equal category_two, categorization.secondary_model end end end
Version data entries
4 entries across 4 versions & 1 rubygems