Sha256: 05b1e84dbfd8deadb2819a74bf3947dd9794b25d522a212accf4e3895eb922bb

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 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

3 entries across 3 versions & 1 rubygems

Version Path
workarea-mail_chimp-3.1.0 test/workers/workarea/mail_chimp/ecommerce/save_product_test.rb
workarea-mail_chimp-3.0.5 test/workers/workarea/mail_chimp/ecommerce/save_product_test.rb
workarea-mail_chimp-3.0.4 test/workers/workarea/mail_chimp/ecommerce/save_product_test.rb