Sha256: a0a496d30388548a736c67f86f74bc74c9016d57dc090047251c40b29d4f9e08
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
require 'spec_helper' describe Spree::Calculator::ShipCompliantCalculator do let(:calculator) { Spree::Calculator::ShipCompliantCalculator.new } describe '.description' do it 'should not be nil' do expect(Spree::Calculator::ShipCompliantCalculator.description).to eq Spree.t(:ship_compliant_tax) end end describe '#compute_order' do it 'should raise an error' do expect { calculator.compute_order(nil) }.to raise_error(RuntimeError) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_ship_compliant-1.0.0 | spec/models/calculator/ship_compliant_calculator_spec.rb |