Sha256: 2f89b4737789d7e6aeee9b8755460c6b3cda758aa2c2b690834cb73682aecaae

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

require 'test_helper'

module Workarea
  module Storefront
    class ForterTrackingSystemTest < Workarea::SystemTest
      def test_forter_tracking_js
        Workarea.with_config do |config|
          config.forter.site_id = "abcdefg"

          visit storefront.root_path

          forter_script = find_by_id('abcdefg', visible: false)

          assert(forter_script.present?)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-forter-1.3.2 test/system/workarea/storefront/forter_tracking_system_test.rb
workarea-forter-1.3.1 test/system/workarea/storefront/forter_tracking_system_test.rb
workarea-forter-1.3.0 test/system/workarea/storefront/forter_tracking_system_test.rb
workarea-forter-1.2.4 test/system/workarea/storefront/forter_tracking_system_test.rb
workarea-forter-1.2.3 test/system/workarea/storefront/forter_tracking_system_test.rb