Sha256: 39584bbe1f1878651dfbfc9e75dd69e1fb5a868e9bbfb98150602e30707db695

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

require 'test_helper'

module Workarea
  module Storefront
    class KlarnaInfoPageIntegrationTest < Workarea::IntegrationTest
      def test_klarna_info_page
        Workarea.config.klarna_on_site_messaging_client_id = nil

        get storefront.klarna_path
        assert_response(:missing)

        Workarea.config.klarna_on_site_messaging_client_id = '123-456'

        get storefront.klarna_path
        assert_response(:success)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-klarna-1.1.0 test/integration/workarea/storefront/klarna_info_page_integration_test.rb
workarea-klarna-1.1.0.beta1 test/integration/workarea/storefront/klarna_info_page_integration_test.rb