Sha256: 367251b1aedc2826166c3f4daa1b75c9b0fef2acfbbb962230745dca5817edac

Contents?: true

Size: 247 Bytes

Versions: 39

Compression:

Stored size: 247 Bytes

Contents

require 'spree/testing_support/factories/shipping_method_factory'
require 'spree/testing_support/factories/shipment_factory'

FactoryGirl.define do
  factory :shipping_rate, class: Spree::ShippingRate do
    shipping_method
    shipment
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
solidus_core-2.3.1 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.2.2 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.1.1 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.0.3 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-1.4.2 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-1.3.2 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-1.2.3 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.3.0 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.3.0.rc3 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.3.0.rc2 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.3.0.rc1 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.3.0.beta1 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.0.2 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-1.4.1 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.2.1 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.2.0 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.2.0.rc1 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.2.0.beta1 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.1.0 lib/spree/testing_support/factories/shipping_rate_factory.rb
solidus_core-2.1.0.rc1 lib/spree/testing_support/factories/shipping_rate_factory.rb