Sha256: 65cacf51ce548db0875ee29245f184e21a14d13df72a276f470e82d66b338157
Contents?: true
Size: 685 Bytes
Versions: 6
Compression:
Stored size: 685 Bytes
Contents
Spree::Sample.load_sample("addresses") order = Spree::Order.create!({ :number => "R123456789", :email => "spree@example.com", :item_total => 150.95, :adjustment_total => 150.95, :total => 301.90, :shipping_address => Spree::Address.first, :billing_address => Spree::Address.last }, :without_protection => true) order.state = "complete" order.save! order = Spree::Order.create!({ :number => "R987654321", :email => "spree@example.com", :item_total => 15.95, :adjustment_total => 15.95, :total => 31.90, :shipping_address => Spree::Address.first, :billing_address => Spree::Address.last }, :without_protection => true) order.state = "complete" order.save!
Version data entries
6 entries across 6 versions & 1 rubygems