Sha256: b18fbc9dd1adc51edb27da8a94816e4f6af50fb4a9337128a65e13686cd432e5

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

require 'spec_helper'


RSpec.describe SolidusAvataxCertified::Request::CancelTax do
  let(:order) { Spree::Order.new }
  subject { described_class.new(order, doc_type: 'SalesInvoice') }

  describe '#generate' do
    it 'DocType has value of SalesInvoice' do
      expect(subject.generate[:DocType]).to eq('SalesInvoice')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_avatax_certified-3.0.0 spec/models/solidus_avatax_certified/request/cancel_tax_spec.rb
solidus_avatax_certified-2.0.0 spec/models/solidus_avatax_certified/request/cancel_tax_spec.rb
solidus_avatax_certified-1.1.0 spec/models/solidus_avatax_certified/request/cancel_tax_spec.rb