Created
October 25, 2011 13:38
-
-
Save HeroicEric/1312748 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Running all features | |
| Using the default profile... | |
| Disabling profiles... | |
| Feature: Create a VariantDatasheet | |
| In order to make it simple to create hundreds of product variants | |
| An admin | |
| I want to be able to create new VariantDatasheets that contain the info | |
| used to programmatically generate a product's variants | |
| Background: # features/import_variants.feature:8 | |
| Given I have an admin account of "admin@person.com/password" # features/step_definitions/authentication_steps.rb:21 | |
| And I sign in as "admin@person.com/password" # features/step_definitions/authentication_steps.rb:25 | |
| And the following products exist: # features/step_definitions/product_steps.rb:1 | |
| | name | sku | available_on | | |
| | Toughbook 19 | CF-19 | 2011-01-01 01:01:01 | | |
| Scenario: Admin creates a VariantDatasheet # features/import_variants.feature:15 | |
| When I go to the admin home page # features/step_definitions/web_steps.rb:22 | |
| And I follow "Products" # features/step_definitions/web_steps.rb:32 | |
| And I follow "Variant_datasheets" # features/step_definitions/web_steps.rb:32 | |
| Need a MetaSearch::Builder search object as first param! (ActionView::Template::Error) | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/meta_search-1.1.1/lib/meta_search/helpers/url_helper.rb:25:in `sort_link' | |
| ./spree_import_variants/app/views/admin/variant_datasheets/index.html.erb:4:in `_spree_import_variants_app_views_admin_variant_datasheets_index_html_erb__756756503455922776_70277131811860' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/template.rb:144:in `block in render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/notifications.rb:55:in `instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/template.rb:142:in `render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:38:in `render_template' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:12:in `block in render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/template_renderer.rb:9:in `render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:36:in `render_template' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_view/renderer/renderer.rb:17:in `render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:120:in `_render_template' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/streaming.rb:250:in `_render_template' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:114:in `render_to_body' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/renderers.rb:30:in `render_to_body' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:99:in `render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:16:in `render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' | |
| /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/core_ext/benchmark.rb:5:in `ms' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:40:in `block in render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:39:in `render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:10:in `default_render' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:167:in `process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/rendering.rb:10:in `process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:452:in `_run__4425605270414271160__process_action__1694706249485940001__callbacks' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/abstract_controller/callbacks.rb:17:in `process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/rescue.rb:17:in `process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `block in instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/notifications.rb:53:in `instrument' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:201:in `process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activerecord-3.1.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/abstract_controller/base.rb:121:in `process' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/abstract_controller/rendering.rb:45:in `process' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal.rb:193:in `dispatch' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_controller/metal.rb:236:in `block in action' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:65:in `dispatch' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:29:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75:in `optimized_each' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/routing/route_set.rb:532:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/spree_core-0.70.0/lib/redirect_legacy_product_url.rb:10:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/spree_core-0.70.0/lib/middleware/seo_assist.rb:23:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/warden-1.0.6/lib/warden/manager.rb:35:in `block in call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/warden-1.0.6/lib/warden/manager.rb:34:in `catch' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/warden-1.0.6/lib/warden/manager.rb:34:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/etag.rb:23:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/conditionalget.rb:25:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/head.rb:14:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/flash.rb:243:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:195:in `context' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:190:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/cookies.rb:331:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activerecord-3.1.1/lib/active_record/query_cache.rb:62:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:392:in `_run_call_callbacks' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/callbacks.rb:28:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/sendfile.rb:101:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/cucumber-rails-1.1.1/lib/cucumber/rails/action_controller.rb:10:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/railties-3.1.1/lib/rails/rack/logger.rb:13:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/methodoverride.rb:24:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/runtime.rb:17:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/activesupport-3.1.1/lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/lock.rb:15:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/actionpack-3.1.1/lib/action_dispatch/middleware/static.rb:53:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/railties-3.1.1/lib/rails/engine.rb:456:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/urlmap.rb:52:in `block in call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/urlmap.rb:46:in `each' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-1.3.5/lib/rack/urlmap.rb:46:in `call' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-test-0.6.1/lib/rack/mock_session.rb:30:in `request' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-test-0.6.1/lib/rack/test.rb:219:in `process_request' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/rack-test-0.6.1/lib/rack/test.rb:57:in `get' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/capybara-1.1.1/lib/capybara/rack_test/browser.rb:62:in `process' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/capybara-1.1.1/lib/capybara/rack_test/browser.rb:33:in `follow' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/capybara-1.1.1/lib/capybara/rack_test/node.rb:56:in `click' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/cucumber-rails-1.1.1/lib/cucumber/rails/capybara/javascript_emulation.rb:16:in `click_with_javascript_emulation' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/capybara-1.1.1/lib/capybara/node/element.rb:99:in `block in click' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/capybara-1.1.1/lib/capybara/node/base.rb:46:in `wait_until' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/capybara-1.1.1/lib/capybara/node/element.rb:99:in `click' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/capybara-1.1.1/lib/capybara/node/actions.rb:27:in `click_link' | |
| (eval):2:in `click_link' | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@telrepco/gems/capybara-1.1.1/lib/capybara/dsl.rb:161:in `click_link' | |
| ./features/step_definitions/web_steps.rb:34:in `block (2 levels) in <top (required)>' | |
| ./features/step_definitions/web_steps.rb:13:in `with_scope' | |
| ./features/step_definitions/web_steps.rb:33:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
| features/import_variants.feature:18:in `And I follow "Variant_datasheets"' | |
| Failing Scenarios: | |
| cucumber features/import_variants.feature:15 # Scenario: Admin creates a VariantDatasheet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment