Sha256: fc7b6f15eb14fcaee2b0738883c78c8dabe6f96be84d2616c965da9fd178a900

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

require 'test_helper'

module Workarea
  class MailChimp::Ecommerce::SaveProductTest < TestCase

    def test_product_mail_chimp_exported_timestamp
      product = create_product
      Workarea::MailChimp::Ecommerce::SaveProduct.new.perform(product.id)

      product.reload

      assert(product.exported_to_mail_chimp_at.present?)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-mail_chimp-3.0.3 test/workers/workarea/mail_chimp/ecommerce/save_product_test.rb
workarea-mail_chimp-3.0.2 test/workers/workarea/mail_chimp/ecommerce/save_product_test.rb