Sha256: 42b7e68ddf7588fadc83afcb24814ba18e94d4ad96315b6fa2731e8b95239f61

Contents?: true

Size: 847 Bytes

Versions: 1

Compression:

Stored size: 847 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  # Official verification and test harness login credentials provided 7/8/14
  # by David Campbell of The Federal Tax Authority.
  # This account is configured to collect sales tax in the 24 SSUTA states:
  # AR, GA, IN, IA, KS, KY, MI, MN, NE, NV, NJ, NC, ND, OH, OK, RI, SD, TN, UT, VT, WA, WV, WI, and WY
  # The account does not collect sales tax in the remaining sales tax states:
  # AL, AK, AZ, CA, CO, CT, DC, FL, HI, ID, IL, LA, ME, MD, MA, MS, MO, NM, NY, PA, SC, TX, and VA
  config.before :suite do
    TaxCloud.configure do |config|
      config.api_login_id = '2D7D820'
      config.api_key = '0946110C-2AA9-4387-AD5C-4E1C551B8D0C'
    end
  end

  config.before do
    stub_spree_preferences(taxcloud_default_product_tic: '00000', taxcloud_shipping_tic: '11010')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_tax_cloud-1.0.0 spec/support/tax_cloud.rb