spec/spec_helper.rb in stellae-ruby-api-0.0.2 vs spec/spec_helper.rb in stellae-ruby-api-0.0.3
- old
+ new
@@ -18,11 +18,11 @@
config.order = 'random'
end
def order_hash
{
- carrier: "FEDEX",
+ shipping_carrier: "FEDEX",
billing_address: {
first_name: "John",
last_name: "Smith",
address1: "123 Here Now",
address2: "2nd Floor",
@@ -46,21 +46,21 @@
phone: "123-123-1234"
},
gift_wrap: "true",
gift_message: "Happy Birthday!",
email: "someone@somehwere.com",
- number: "R123123125",
+ number: "R123123126",
type: "OO",
currency: "USD",
line_items: [
{
price: "127.23",
quantity: "1",
sku: "8433889054239",
size: "XS"
}
],
- shipping_method: "90",
+ shipping_method: "Next Business Day",
invoice_url: "http://example.com/R123123123/invoice",
shipping_cost: 10,
shipping_discount: -5,
item_discount: 0,
total_amount: 132.23