Sha256: a93033e922247ec6a43e297b350ddec05f07e00a72b0b61deeb0af28f1a1c82a
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe ShippingMethod do context 'factory' do let(:shipping_method){ Factory :shipping_method } it "should set calculable correctly" do shipping_method.calculator.calculable.should == shipping_method end end context 'validations' do it { should have_valid_factory(:shipping_method) } end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
MyCommerceapi-1.0.0 | core/spec/models/shipping_method_spec.rb |
MyCommerce-0.0.3 | core/spec/models/shipping_method_spec.rb |