Skip to content

Instantly share code, notes, and snippets.

@GeekOnCoffee
Created November 30, 2011 04:29
Show Gist options
  • Save GeekOnCoffee/1408019 to your computer and use it in GitHub Desktop.
Save GeekOnCoffee/1408019 to your computer and use it in GitHub Desktop.
Failures:
1) Order Details edit order page should allow me to edit order details
Failure/Error: page.should have_content("Total: $19.99")
expected there to be content "Total: $19.99" in "Logged in as: kristian_funk@pouros.info\nAccount\nLogout\nStore\nAdministration\nOverview\nOrders\nProducts\nReports\nConfiguration\nUsers\nPromotions\n\n\ncancel\nResend\nOrder R100\nAdd Product\nName or SKU (enter at least first 4 characters of product name)\nQty\nAdd\nInternal Server Error\nYou have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each\nWEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) at 127.0.0.1:52999\n\nOrder #R100\nStatus: cart\nTotal: $39.98\nShipment: backorder\nPayment: balance due\n\n\nOrder Details\nCustomer Details\nAdjustments\nPayments\nShipments\nReturn Authorizations\nHistory\nIcons by pInvoke"
# ./spec/requests/admin/orders/order_details_spec.rb:24:in `block (3 levels) in <top (required)>'
2) Products creating a new product should show validation errors
Failure/Error: page.should have_content("Name can't be blank")
expected there to be content "Name can't be blank" in "Internal Server Error\nundefined method `master' for nil:NilClass\nWEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) at 127.0.0.1:52999"
# ./spec/requests/admin/products/products_spec.rb:84:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment