Sha256: dcb2cd216e1969f3e3b52cb9566229bb4668dd50ad940eb92b8f4b02b141cc74
Contents?: true
Size: 426 Bytes
Versions: 15
Compression:
Stored size: 426 Bytes
Contents
require 'test_helper' class PerItemCalculatorTest < ActiveSupport::TestCase context "Calculator::PerItem" do [Coupon, ShippingMethod].each do |calculable| should "be available to #{calculable.to_s}" do assert calculable.calculators.include?(Calculator::PerItem) end end should "not be available to TaxRate" do assert !TaxRate.calculators.include?(Calculator::PerItem) end end end
Version data entries
15 entries across 15 versions & 2 rubygems