Sha256: 19d017255e96f61636223be54d90b88a2b1df1fde6a163a2d3f193ed73c2f5d4
Contents?: true
Size: 331 Bytes
Versions: 23
Compression:
Stored size: 331 Bytes
Contents
require 'spec_helper' module Spree module Calculator::Shipping describe FlatRate, type: :model do subject { Calculator::Shipping::FlatRate.new(preferred_amount: 4.00) } it 'always returns the same rate' do expect(subject.compute(build(:stock_package_fulfilled))).to eql 4.00 end end end end
Version data entries
23 entries across 23 versions & 2 rubygems