db/samples/shipping_methods.rb in spree_sample-2.1.1 vs db/samples/shipping_methods.rb in spree_sample-2.1.2
- old
+ new
@@ -11,28 +11,28 @@
shipping_methods = [
{
:name => "UPS Ground (USD)",
:zones => [north_america],
- :calculator => Spree::Calculator::FlatRate.create!,
+ :calculator => Spree::Calculator::Shipping::FlatRate.create!,
:shipping_categories => [shipping_category]
},
{
:name => "UPS Two Day (USD)",
:zones => [north_america],
- :calculator => Spree::Calculator::FlatRate.create!,
+ :calculator => Spree::Calculator::Shipping::FlatRate.create!,
:shipping_categories => [shipping_category]
},
{
:name => "UPS One Day (USD)",
:zones => [north_america],
- :calculator => Spree::Calculator::FlatRate.create!,
+ :calculator => Spree::Calculator::Shipping::FlatRate.create!,
:shipping_categories => [shipping_category]
},
{
:name => "UPS Ground (EUR)",
:zones => [europe_vat],
- :calculator => Spree::Calculator::FlatRate.create!,
+ :calculator => Spree::Calculator::Shipping::FlatRate.create!,
:shipping_categories => [shipping_category]
}
]
shipping_methods.each do |shipping_method_attrs|