Sha256: 040910a0924355ea3a7d459df63cac77a60ef608c23c3de9a81f29555726f25d

Contents?: true

Size: 711 Bytes

Versions: 5

Compression:

Stored size: 711 Bytes

Contents

require 'test_helper'

module Workarea
  module Storefront
    class MailChimpSiteJavascriptTest < Workarea::IntegrationTest
      def test_connected_site_javascript
        Workarea.with_config do |config|
          config.mail_chimp.default_store = {
            id: "qa_dummy_store_9",
            list_id: "dd8f83a09e",
            name: "QA dummy store 4",
            email_address: "jyucis@weblinc.com",
            domain: 'https://plugins-qa.demo.workarea.com/',
            currency_code: "USD"
          }
          store = create_mail_chimp_store.reload

          get storefront.root_path

          assert_includes response.body, store.site_script_fragment
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-mail_chimp-3.1.0 test/integration/workarea/storefront/mail_chimp_site_javascript_test.rb
workarea-mail_chimp-3.0.5 test/integration/workarea/storefront/mail_chimp_site_javascript_test.rb
workarea-mail_chimp-3.0.4 test/integration/workarea/storefront/mail_chimp_site_javascript_test.rb
workarea-mail_chimp-3.0.3 test/integration/workarea/storefront/mail_chimp_site_javascript_test.rb
workarea-mail_chimp-3.0.2 test/integration/workarea/storefront/mail_chimp_site_javascript_test.rb