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