Skip to content

Instantly share code, notes, and snippets.

@BrianTheCoder
Created January 29, 2015 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrianTheCoder/fc8cc6fafd4364fc6549 to your computer and use it in GitHub Desktop.
Save BrianTheCoder/fc8cc6fafd4364fc6549 to your computer and use it in GitHub Desktop.
Instance method "open" is already defined in Object, use generic helper instead or set StateMachine::Machine.ignore_method_conflicts = true.
........................................................................................................................................................F................[object Object]
.........F.....F.....F.............................................................................*.......DEPRECATION WARNING: Passing a Variant ID is deprecated, and will be removed in Spree 3. Please pass a variant instance instead. (called from move at /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/stock_location.rb:84)
DEPRECATION WARNING: Passing a Variant ID is deprecated, and will be removed in Spree 3. Please pass a variant instance instead. (called from move at /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/stock_location.rb:84)
.FF..........................................................
Pending:
Promotion Adjustments coupon promotions should allow an admin to create an automatic promotion with free shipping (no code)
# Temporarily skipped with xit
# ./spec/features/admin/promotion_adjustments_spec.rb:137
Failures:
1) Customer Details brand new order associates a user when not using guest checkout
Failure/Error: expect(find('#order_bill_address_attributes_country_id').value).to eq user.bill_address.country_id.to_s
Capybara::ElementNotFound:
Unable to find css "#order_bill_address_attributes_country_id"
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/finders.rb:41:in `block in find'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in `find'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/session.rb:676:in `block (2 levels) in <class:Session>'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/admin/orders/customer_details_spec.rb:42:in `block (3 levels) in <top (required)>'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:36:in `block (3 levels) in apply'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:27:in `times'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:27:in `block (2 levels) in apply'
2) Order Details as Admin edit order page can change the shipping method
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
Spree::ShippingRate#currency delegated to shipment.currency, but shipment is nil: #<Spree::ShippingRate id: 2, shipment_id: 2, shipping_method_id: 2, selected: false, cost: #<BigDecimal:7fd9dea29c88,'0.0',9(18)>, created_at: "2015-01-29 19:39:30", updated_at: "2015-01-29 19:39:30", tax_rate_id: nil>
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/shipping_rate.rb:7:in `rescue in currency'
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/shipping_rate.rb:7:in `currency'
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/shipping_rate.rb:11:in `display_base_price'
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/shipping_rate.rb:19:in `display_price'
# ./app/views/spree/admin/orders/_shipment.html.erb:44:in `block in _5b4d94f0359ed720934c58009d14d4c5'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/relation/delegation.rb:46:in `map'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/relation/delegation.rb:46:in `map'
# ./app/views/spree/admin/orders/_shipment.html.erb:44:in `_5b4d94f0359ed720934c58009d14d4c5'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:399:in `block in collection_with_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:395:in `map'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:395:in `collection_with_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:291:in `render_collection'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:275:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:274:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:21:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# ./app/views/spree/admin/orders/_form.html.erb:7:in `_fa1852dab263dbbd515945b22ef47d6b'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:278:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:21:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# ./app/views/spree/admin/orders/edit.html.erb:33:in `_1435fecca8cb4795f8eff84933910d90'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:53:in `render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:17:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:23:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:99:in `_render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/streaming.rb:217:in `_render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:82:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/renderers.rb:32:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/rendering.rb:25:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:16:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/core_ext/benchmark.rb:12:in `ms'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:40:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:229:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:229:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal.rb:196:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal.rb:232:in `block in action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:82:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:50:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:73:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:685:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/engine.rb:514:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/railtie.rb:194:in `public_send'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/railtie.rb:194:in `method_missing'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:73:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:685:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/flash.rb:254:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/cookies.rb:562:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/query_cache.rb:36:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:38:in `call_app'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:20:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:26:in `tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:68:in `tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:20:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/static.rb:84:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/engine.rb:514:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/application.rb:144:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/server.rb:19:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
3) Order Details as Admin edit order page when two stock locations exist when two shipments exist can change the second shipment's shipping method
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
Spree::ShippingRate#currency delegated to shipment.currency, but shipment is nil: #<Spree::ShippingRate id: 2, shipment_id: 1, shipping_method_id: 1, selected: true, cost: #<BigDecimal:7fd9d994d058,'0.0',9(18)>, created_at: "2015-01-29 19:39:51", updated_at: "2015-01-29 19:39:51", tax_rate_id: nil>
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/shipping_rate.rb:7:in `rescue in currency'
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/shipping_rate.rb:7:in `currency'
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/shipping_rate.rb:11:in `display_base_price'
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/models/spree/shipping_rate.rb:19:in `display_price'
# ./app/views/spree/admin/orders/_shipment.html.erb:44:in `block in _5b4d94f0359ed720934c58009d14d4c5'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/relation/delegation.rb:46:in `map'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/relation/delegation.rb:46:in `map'
# ./app/views/spree/admin/orders/_shipment.html.erb:44:in `_5b4d94f0359ed720934c58009d14d4c5'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:399:in `block in collection_with_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:395:in `map'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:395:in `collection_with_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:291:in `render_collection'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:275:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:274:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:21:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# ./app/views/spree/admin/orders/_form.html.erb:7:in `_fa1852dab263dbbd515945b22ef47d6b'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:278:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:21:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# ./app/views/spree/admin/orders/edit.html.erb:33:in `_1435fecca8cb4795f8eff84933910d90'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:53:in `render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:17:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:23:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:99:in `_render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/streaming.rb:217:in `_render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:82:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/renderers.rb:32:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/rendering.rb:25:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:16:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/core_ext/benchmark.rb:12:in `ms'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:40:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:229:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:229:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal.rb:196:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal.rb:232:in `block in action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:82:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:50:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:73:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:685:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/engine.rb:514:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/railtie.rb:194:in `public_send'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/railtie.rb:194:in `method_missing'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:73:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:685:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/flash.rb:254:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/cookies.rb:562:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/query_cache.rb:36:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:38:in `call_app'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:20:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:26:in `tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:68:in `tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:20:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/static.rb:84:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/engine.rb:514:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/application.rb:144:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/server.rb:19:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
4) Order Details as Fakedispatch can change the shipping method
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
undefined method `variant_images' for nil:NilClass
# /Users/brianthecoder/Dropbox/code/20jeans/spree/core/app/helpers/spree/base_helper.rb:186:in `block in define_image_method'
# ./app/views/spree/admin/orders/_shipment_manifest.html.erb:4:in `block in _62de479b2600fac56a7397d8e2b852c1'
# ./app/views/spree/admin/orders/_shipment_manifest.html.erb:1:in `each'
# ./app/views/spree/admin/orders/_shipment_manifest.html.erb:1:in `_62de479b2600fac56a7397d8e2b852c1'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:278:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/helpers/rendering_helper.rb:35:in `render'
# ./app/views/spree/admin/orders/_shipment.html.erb:36:in `_2a053e4988ba43d48373409a8690fc1e'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:399:in `block in collection_with_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:395:in `map'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:395:in `collection_with_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:291:in `render_collection'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:275:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:274:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:21:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# ./app/views/spree/admin/orders/_form.html.erb:7:in `_e71c4027e57bce4c204fd03719cbb118'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/partial_renderer.rb:278:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:21:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# ./app/views/spree/admin/orders/edit.html.erb:33:in `_1435fecca8cb4795f8eff84933910d90'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:145:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:339:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/template.rb:143:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/deface-1.0.1/lib/deface/action_view_extensions.rb:41:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:53:in `render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/template_renderer.rb:17:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/renderer/renderer.rb:23:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:99:in `_render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/streaming.rb:217:in `_render_template'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:82:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/renderers.rb:32:in `render_to_body'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/rendering.rb:25:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:16:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/core_ext/benchmark.rb:12:in `ms'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:40:in `render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:229:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:229:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal.rb:196:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_controller/metal.rb:232:in `block in action'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:82:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:50:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:73:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:685:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/engine.rb:514:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/railtie.rb:194:in `public_send'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/railtie.rb:194:in `method_missing'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:73:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/journey/router.rb:59:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/routing/route_set.rb:685:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/flash.rb:254:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/cookies.rb:562:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/query_cache.rb:36:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:38:in `call_app'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:20:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:26:in `tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/tagged_logging.rb:68:in `tagged'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/rack/logger.rb:20:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/activesupport-4.1.9/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/actionpack-4.1.9/lib/action_dispatch/middleware/static.rb:84:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/engine.rb:514:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/railties-4.1.9/lib/rails/application.rb:144:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/server.rb:19:in `call'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
5) Stock Transfers received stock transfer receive stock to a single location
Failure/Error: select('NY', :from => 'transfer_destination_location_id')
Capybara::ElementNotFound:
Unable to find select box "transfer_destination_location_id"
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/finders.rb:41:in `block in find'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in `find'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/actions.rb:112:in `select'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/session.rb:676:in `block (2 levels) in <class:Session>'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/admin/stock_transfer_spec.rb:49:in `block (3 levels) in <top (required)>'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:36:in `block (3 levels) in apply'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:27:in `times'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:27:in `block (2 levels) in apply'
6) Stock Transfers received stock transfer forced to only receive there is only one location
Failure/Error: select('NY', :from => 'transfer_destination_location_id')
Capybara::ElementNotFound:
Unable to find select box "transfer_destination_location_id"
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/finders.rb:41:in `block in find'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in `find'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/node/actions.rb:112:in `select'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/session.rb:676:in `block (2 levels) in <class:Session>'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/admin/stock_transfer_spec.rb:66:in `block (3 levels) in <top (required)>'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:36:in `block (3 levels) in apply'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:27:in `times'
# /Users/brianthecoder/.rvm/gems/ruby-2.1.5/gems/rspec-retry-0.3.0/lib/rspec/retry.rb:27:in `block (2 levels) in apply'
Finished in 6 minutes 2 seconds (files took 3.25 seconds to load)
337 examples, 6 failures, 1 pending
Failed examples:
rspec ./spec/features/admin/orders/customer_details_spec.rb:30 # Customer Details brand new order associates a user when not using guest checkout
rspec ./spec/features/admin/orders/order_details_spec.rb:89 # Order Details as Admin edit order page can change the shipping method
rspec ./spec/features/admin/orders/order_details_spec.rb:173 # Order Details as Admin edit order page when two stock locations exist when two shipments exist can change the second shipment's shipping method
rspec ./spec/features/admin/orders/order_details_spec.rb:302 # Order Details as Fakedispatch can change the shipping method
rspec ./spec/features/admin/stock_transfer_spec.rb:40 # Stock Transfers received stock transfer receive stock to a single location
rspec ./spec/features/admin/stock_transfer_spec.rb:58 # Stock Transfers received stock transfer forced to only receive there is only one location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment