Sha256: 887f204dbbf6012122ed1a56fa4b193035233f91e5419aa6f187f0425603dd44

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

require 'spec_helper'


RSpec.describe SolidusAvataxCertified::Request::Base do
  let(:order) { Spree::Order.new }
  subject { described_class.new(order) }

  describe '#generate' do
    it 'raises error' do
      expect{ subject.generate }.to raise_error('Method needs to be implemented in subclass.')
    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/base_spec.rb
solidus_avatax_certified-2.0.0 spec/models/solidus_avatax_certified/request/base_spec.rb
solidus_avatax_certified-1.1.0 spec/models/solidus_avatax_certified/request/base_spec.rb