Sha256: 2e2a86fff013c0d842df692de1cc85506efb1b1fd09f76d25cf3e0b1e9ba9443

Contents?: true

Size: 351 Bytes

Versions: 62

Compression:

Stored size: 351 Bytes

Contents

require 'test_helper'

module Workarea
  class IndexProductTest < Workarea::TestCase
    include TestCase::SearchIndexing

    def test_perform
      product = create_product
      indexed_at = product.last_indexed_at

      IndexProduct.perform(product)
      product.reload

      refute_equal(indexed_at, product.last_indexed_at)
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.13 test/workers/workarea/index_product_test.rb
workarea-core-3.4.12 test/workers/workarea/index_product_test.rb