db/samples/variants.rb in solidus_sample-3.0.8 vs db/samples/variants.rb in solidus_sample-3.1.0
- old
+ new
@@ -12,11 +12,11 @@
ruby_polo = Spree::Product.find_by!(name: "Ruby Polo")
solidus_mug = Spree::Product.find_by!(name: "Solidus Mug")
ruby_mug = Spree::Product.find_by!(name: "Ruby Mug")
solidus_tote = Spree::Product.find_by!(name: "Solidus Tote")
ruby_tote = Spree::Product.find_by!(name: "Ruby Tote")
-solidus_girly = Spree::Product.find_by!(name: "Solidus Girly")
+solidus_womens_tshirt = Spree::Product.find_by!(name: "Solidus Women's T-Shirt")
small = Spree::OptionValue.find_by!(name: "Small")
medium = Spree::OptionValue.find_by!(name: "Medium")
large = Spree::OptionValue.find_by!(name: "Large")
extra_large = Spree::OptionValue.find_by!(name: "Extra Large")
@@ -121,41 +121,41 @@
option_values: [large, blue],
sku: "SOL-LS09",
cost_price: 17
},
{
- product: solidus_girly,
+ product: solidus_womens_tshirt,
option_values: [small, black],
sku: "SOL-WM001",
cost_price: 17
},
{
- product: solidus_girly,
+ product: solidus_womens_tshirt,
option_values: [small, blue],
sku: "SOL-WM002",
cost_price: 17
},
{
- product: solidus_girly,
+ product: solidus_womens_tshirt,
option_values: [small, white],
sku: "SOL-WM003",
cost_price: 17
},
{
- product: solidus_girly,
+ product: solidus_womens_tshirt,
option_values: [medium, blue],
sku: "SOL-WM004",
cost_price: 17
},
{
- product: solidus_girly,
+ product: solidus_womens_tshirt,
option_values: [medium, white],
sku: "SOL-WM005",
cost_price: 17
},
{
- product: solidus_girly,
+ product: solidus_womens_tshirt,
option_values: [medium, black],
sku: "SOL-WM006",
cost_price: 17
}
]
@@ -203,10 +203,10 @@
},
ruby_mug => {
sku: "RUB-MG01",
cost_price: 7
},
- solidus_girly => {
+ solidus_womens_tshirt => {
sku: "SOL-WM00",
cost_price: 17
}
}