Created
March 23, 2011 19:47
-
-
Save moonshine/883806 to your computer and use it in GitHub Desktop.
This file contains 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
Jones-Lees-MacBook-Air:spree mojo$ rake | |
(in /Users/mojo/Sites/huey/spree) | |
########################### api ######################### | |
rm api/Gemfile* | |
rm: api/Gemfile*: No such file or directory | |
cd api && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake test_app | |
(in /Users/mojo/Sites/huey/spree/api) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/api/spec/test_app) | |
run rake spree_auth:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/api/spec/test_app) | |
run rake spree_api:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/api/spec/test_app) | |
cd api && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake spec | |
(in /Users/mojo/Sites/huey/spree/api) | |
/Users/mojo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec ./spec/controllers/admin/users_controller_spec.rb ./spec/controllers/api/spree_base_controller_spec.rb ./spec/models/user_spec.rb | |
FF......... | |
Failures: | |
1) Admin::UsersController#generate_api_key should generate a 40 char key | |
Failure/Error: put :generate_api_key, {:id => 1} | |
Mock "User_1002" received unexpected message :to_ary with (no args) | |
# ./app/controllers/admin/users_controller_decorator.rb:9:in `generate_api_key' | |
# ./spec/controllers/admin/users_controller_spec.rb:15:in `block (3 levels) in <top (required)>' | |
2) Admin::UsersController#clear_api_key should clear the key | |
Failure/Error: put :clear_api_key, {:id => 1} | |
Mock "User_1004" received unexpected message :to_ary with (no args) | |
# ./app/controllers/admin/users_controller_decorator.rb:16:in `clear_api_key' | |
# ./spec/controllers/admin/users_controller_spec.rb:23:in `block (3 levels) in <top (required)>' | |
Finished in 0.81659 seconds | |
11 examples, 2 failures | |
rake aborted! | |
ruby -S bundle exec rspec ./spec/controllers/admin/users_controller_spec.rb ./spec/controllers/api/spree_base_controller_spec.rb ./spec/models/user_spec.rb failed | |
(See full trace by running task with --trace) | |
########################### auth ######################### | |
rm auth/Gemfile* | |
rm: auth/Gemfile*: No such file or directory | |
cd auth && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake test_app | |
(in /Users/mojo/Sites/huey/spree/auth) | |
run rake spree_auth:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/auth/spec/test_app) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/auth/spec/test_app) | |
cd auth && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake spec | |
(in /Users/mojo/Sites/huey/spree/auth) | |
/Users/mojo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec ./spec/controllers/admin_base_controller_spec.rb ./spec/controllers/checkout_controller_spec.rb ./spec/controllers/orders_controller_spec.rb ./spec/controllers/user_sessions_controller_spec.rb ./spec/controllers/users_controller_spec.rb ./spec/lib/token_resource_spec.rb ./spec/models/ability_spec.rb ./spec/models/order_spec.rb ./spec/models/user_spec.rb | |
................................................................................................. | |
Finished in 4 seconds | |
97 examples, 0 failures | |
########################### core ######################### | |
rm core/Gemfile* | |
rm: core/Gemfile*: No such file or directory | |
cd core && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake test_app | |
(in /Users/mojo/Sites/huey/spree/core) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/core/spec/test_app) | |
cd core && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake spec | |
(in /Users/mojo/Sites/huey/spree/core) | |
/Users/mojo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec ./spec/controllers/admin/mail_methods_controller_spec.rb ./spec/controllers/admin/orders_controller_spec.rb ./spec/controllers/admin/payments_controller_spec.rb ./spec/controllers/admin/products_controller_spec.rb ./spec/controllers/admin/shipments_controller_spec.rb ./spec/controllers/admin/users_controller_spec.rb ./spec/controllers/checkout_controller_spec.rb ./spec/controllers/content_controller_spec.rb ./spec/controllers/orders_controller_spec.rb ./spec/lib/calculated_adjustments_spec.rb ./spec/lib/ext_spec.rb ./spec/lib/mail_interceptor_spec.rb ./spec/lib/mail_settings_spec.rb ./spec/models/address_spec.rb ./spec/models/adjustment_spec.rb ./spec/models/calculator/flat_percent_item_total_spec.rb ./spec/models/configuration_spec.rb ./spec/models/country_spec.rb ./spec/models/creditcard_spec.rb ./spec/models/gateway/authorize_net_cim_spec.rb ./spec/models/gateway/authorize_net_spec.rb ./spec/models/gateway/braintree_spec.rb ./spec/models/inventory_unit_spec.rb ./spec/models/line_item_spec.rb ./spec/models/mail_method_spec.rb ./spec/models/order_spec.rb ./spec/models/payment_method_spec.rb ./spec/models/payment_spec.rb ./spec/models/product_group_spec.rb ./spec/models/product_option_type_spec.rb ./spec/models/product_property_spec.rb ./spec/models/product_scope_spec.rb ./spec/models/product_spec.rb ./spec/models/return_authorization_spec.rb ./spec/models/shipment_spec.rb ./spec/models/shipping_category_spec.rb ./spec/models/shipping_method_spec.rb ./spec/models/state_spec.rb ./spec/models/tax_category_spec.rb ./spec/models/tax_rate_spec.rb ./spec/models/taxon_spec.rb ./spec/models/taxonomy_spec.rb ./spec/models/tracer_spec.rb ./spec/models/user_spec.rb ./spec/models/variant_spec.rb | |
....FF.....F............................*...............**.F.**.................................*................................................................................................................................................*...............*..................F........................**........................................................................................F................................................ | |
Pending: | |
OrdersController#empty should redirect back to cart | |
# Not Yet Implemented | |
# ./spec/controllers/orders_controller_spec.rb:70 | |
OrderMailer#deliver when intercept_email is provided should strip the bcc recipients | |
# Not Yet Implemented | |
# ./spec/lib/mail_interceptor_spec.rb:41 | |
OrderMailer#deliver when intercept_email is provided should strip the cc recipients | |
# Not Yet Implemented | |
# ./spec/lib/mail_interceptor_spec.rb:42 | |
OrderMailer#deliver when intercept_mode is not provided should bcc the address specified in the preference | |
# Not Yet Implemented | |
# ./spec/lib/mail_interceptor_spec.rb:65 | |
OrderMailer#deliver when intercept_mode is not provided should not change the recipient | |
# Not Yet Implemented | |
# ./spec/lib/mail_interceptor_spec.rb:66 | |
Adjustment should accept a negative amount | |
# Not Yet Implemented | |
# ./spec/models/adjustment_spec.rb:22 | |
Order#save should destroy any line_items with zero quantity | |
# Not Yet Implemented | |
# ./spec/models/order_spec.rb:78 | |
Order#finalize! should change the shipment state to ready if order is paid | |
# Not Yet Implemented | |
# ./spec/models/order_spec.rb:193 | |
Order#cancel should restock inventory | |
# Not Yet Implemented | |
# ./spec/models/order_spec.rb:528 | |
Order#cancel should change shipment status (unless shipped) | |
# Not Yet Implemented | |
# ./spec/models/order_spec.rb:529 | |
Failures: | |
1) Admin::PaymentsController#fire should fire the requested event on the payment | |
Failure/Error: put :fire, {:order_id => "123", :id => "456", :e => "foo"} | |
Mock "Order_1007" received unexpected message :to_ary with (no args) | |
# ./app/controllers/admin/payments_controller.rb:48:in `fire' | |
# ./spec/controllers/admin/payments_controller_spec.rb:19:in `block (3 levels) in <top (required)>' | |
2) Admin::PaymentsController#fire should respond with a flash message if the event cannot be fired | |
Failure/Error: put :fire, {:order_id => "123", :id => "456", :e => "foo"} | |
Mock "Order_1010" received unexpected message :to_ary with (no args) | |
# ./app/controllers/admin/payments_controller.rb:48:in `fire' | |
# ./spec/controllers/admin/payments_controller_spec.rb:23:in `block (3 levels) in <top (required)>' | |
3) Admin::UsersController#index should allow JSON request with a valid token | |
Failure/Error: get :index, {:authenticity_token => "123456", :format => :json} | |
NoMethodError: | |
undefined method `registered' for #<Class:0x00000105837f10> | |
# ./app/controllers/admin/users_controller.rb:36:in `collection' | |
# ./spec/controllers/admin/users_controller_spec.rb:12:in `block (3 levels) in <top (required)>' | |
4) OrderMailer#deliver when intercept_email is provided should modify the subject to include the original email | |
Failure/Error: @email.subject.starts_with?("[customer@example.com]").should be_true | |
expected false to be true | |
# ./spec/lib/mail_interceptor_spec.rb:53:in `block (4 levels) in <top (required)>' | |
5) Order#update! should call update! on every shipment | |
Failure/Error: order.shipments = [shipment] | |
Mock "Shipment_1410" received unexpected message :to_ary with (no args) | |
# ./spec/models/order_spec.rb:427:in `block (3 levels) in <top (required)>' | |
6) Shipment when order is completed with inventory tracking should validate with inventory | |
Failure/Error: shipment.inventory_units = [mock_model(InventoryUnit)] | |
Mock "InventoryUnit_1571" received unexpected message :to_ary with (no args) | |
# ./spec/models/shipment_spec.rb:117:in `block (4 levels) in <top (required)>' | |
Finished in 190.03 seconds | |
440 examples, 6 failures, 10 pending | |
rake aborted! | |
ruby -S bundle exec rspec ./spec/controllers/admin/mail_methods_controller_spec.rb ./spec/controllers/admin/orders_controller_spec.rb ./spec/controllers/admin/payments_controller_spec.rb ./spec/controllers/admin/products_controller_spec.rb ./spec/controllers/admin/shipments_controller_spec.rb ./spec/controllers/admin/users_controller_spec.rb ./spec/controllers/checkout_controller_spec.rb ./spec/controllers/content_controller_spec.rb ./spec/controllers/orders_controller_spec.rb ./spec/lib/calculated_adjustments_spec.rb ./spec/lib/ext_spec.rb ./spec/lib/mail_interceptor_spec.rb ./spec/lib/mail_settings_spec.rb ./spec/models/address_spec.rb ./spec/models/adjustment_spec.rb ./spec/models/calculator/flat_percent_item_total_spec.rb ./spec/models/configuration_spec.rb ./spec/models/country_spec.rb ./spec/models/creditcard_spec.rb ./spec/models/gateway/authorize_net_cim_spec.rb ./spec/models/gateway/authorize_net_spec.rb ./spec/models/gateway/braintree_spec.rb ./spec/models/inventory_unit_spec.rb ./spec/models/line_item_spec.rb ./spec/models/mail_method_spec.rb ./spec/models/order_spec.rb ./spec/models/payment_method_spec.rb ./spec/models/payment_spec.rb ./spec/models/product_group_spec.rb ./spec/models/product_option_type_spec.rb ./spec/models/product_property_spec.rb ./spec/models/product_scope_spec.rb ./spec/models/product_spec.rb ./spec/models/return_authorization_spec.rb ./spec/models/shipment_spec.rb ./spec/models/shipping_category_spec.rb ./spec/models/shipping_method_spec.rb ./spec/models/state_spec.rb ./spec/models/tax_category_spec.rb ./spec/models/tax_rate_spec.rb ./spec/models/taxon_spec.rb ./spec/models/taxonomy_spec.rb ./spec/models/tracer_spec.rb ./spec/models/user_spec.rb ./spec/models/variant_spec.rb failed | |
(See full trace by running task with --trace) | |
########################### dash ######################### | |
rm dash/Gemfile* | |
rm: dash/Gemfile*: No such file or directory | |
cd dash && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake test_app | |
(in /Users/mojo/Sites/huey/spree/dash) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/dash/spec/test_app) | |
run rake spree_dash:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/dash/spec/test_app) | |
INFO: Mirroring assets from /Users/mojo/Sites/huey/spree/dash/lib/tasks/../../public to /Users/mojo/Sites/huey/spree/dash/spec/test_app/public | |
cd dash && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake spec | |
(in /Users/mojo/Sites/huey/spree/dash) | |
/Users/mojo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec ./spec/controllers/admin/overview_controller_spec.rb | |
.. | |
Finished in 0.13871 seconds | |
2 examples, 0 failures | |
########################### promo ######################### | |
rm promo/Gemfile* | |
rm: promo/Gemfile*: No such file or directory | |
cd promo && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake test_app | |
(in /Users/mojo/Sites/huey/spree/promo) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/promo/spec/test_app) | |
run rake spree_promo:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/promo/spec/test_app) | |
INFO: Mirroring assets from /Users/mojo/Sites/huey/spree/promo/lib/tasks/../../public to /Users/mojo/Sites/huey/spree/promo/spec/test_app/public | |
run rake spree_auth:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/promo/spec/test_app) | |
cd promo && /Users/mojo/.rvm/gems/ruby-1.9.2-p180/bin/rake spec | |
(in /Users/mojo/Sites/huey/spree/promo) | |
/Users/mojo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec ./spec/models/promotion/rules/first_order_spec.rb ./spec/models/promotion/rules/item_total_spec.rb ./spec/models/promotion/rules/product_spec.rb ./spec/models/promotion/rules/user_spec.rb ./spec/models/promotion_rule_spec.rb ./spec/models/promotion_spec.rb | |
......................................FFF | |
Failures: | |
1) Promotion rules with 'all' match policy should have eligible rules if all rules are eligible | |
Failure/Error: promotion.promotion_rules = [rule, rule.clone] | |
Mock "PromotionRule_1032" received unexpected message :to_ary with (no args) | |
# ./spec/models/promotion_spec.rb:122:in `block (4 levels) in <top (required)>' | |
2) Promotion rules with 'all' match policy should not have eligible rules if any of the rules is not eligible | |
Failure/Error: promotion.promotion_rules = [mock_model(PromotionRule, :eligible? => true), | |
Mock "PromotionRule_1033" received unexpected message :to_ary with (no args) | |
# ./spec/models/promotion_spec.rb:128:in `block (4 levels) in <top (required)>' | |
3) Promotion rules with 'any' match policy should have eligible rules if any of the rules is eligible | |
Failure/Error: promotion.promotion_rules = [mock_model(PromotionRule, :eligible? => true), | |
Mock "PromotionRule_1035" received unexpected message :to_ary with (no args) | |
# ./spec/models/promotion_spec.rb:139:in `block (4 levels) in <top (required)>' | |
Finished in 0.73584 seconds | |
41 examples, 3 failures | |
rake aborted! | |
ruby -S bundle exec rspec ./spec/models/promotion/rules/first_order_spec.rb ./spec/models/promotion/rules/item_total_spec.rb ./spec/models/promotion/rules/product_spec.rb ./spec/models/promotion/rules/user_spec.rb ./spec/models/promotion_rule_spec.rb ./spec/models/promotion_spec.rb failed | |
(See full trace by running task with --trace) | |
########################### api ######################### | |
rm api/Gemfile* | |
cd api && rake test_app | |
(in /Users/mojo/Sites/huey/spree/api) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/api/spec/test_app) | |
run rake spree_auth:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/api/spec/test_app) | |
run rake spree_api:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/api/spec/test_app) | |
cd api && bundle exec cucumber -p ci | |
Using the ci profile... | |
......F............F.............F.............F.............F.......F.....F-.............F............F.................... | |
(::) failed steps (::) | |
stack level too deep (SystemStackError) | |
features/states.feature:11:in `And the response should be an array with 51 states' | |
stack level too deep (SystemStackError) | |
features/states.feature:11:in `And the response should be an array with 51 states' | |
stack level too deep (SystemStackError) | |
features/states.feature:11:in `And the response should be an array with 51 states' | |
stack level too deep (SystemStackError) | |
features/states.feature:11:in `And the response should be an array with 51 states' | |
stack level too deep (SystemStackError) | |
features/states.feature:11:in `And the response should be an array with 51 states' | |
stack level too deep (SystemStackError) | |
features/states.feature:11:in `And the response should be an array with 51 states' | |
expected: 1 | |
got: 0 (using ==) (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/orders_steps.rb:87:in `/^the response should be an array with (\d+) products?/' | |
features/products.feature:21:in `And the response should be an array with 1 product' | |
stack level too deep (SystemStackError) | |
features/states.feature:11:in `And the response should be an array with 51 states' | |
stack level too deep (SystemStackError) | |
features/states.feature:11:in `And the response should be an array with 51 states' | |
Failing Scenarios: | |
cucumber -p ci features/countries.feature:8 # Scenario: Retrieve a list of countries | |
cucumber -p ci features/inventory_units.feature:8 # Scenario: Retrieve a list of inventory units | |
cucumber -p ci features/line_items.feature:8 # Scenario: Retrieve a list of line items | |
cucumber -p ci features/orders.feature:8 # Scenario: Retrieve a list of my orders | |
cucumber -p ci features/orders_description.feature:11 # Scenario: Retrieve a list of my orders | |
cucumber -p ci features/products.feature:8 # Scenario: Retrieve a list of products | |
cucumber -p ci features/products.feature:14 # Scenario: Retrieve a list of products after searching | |
cucumber -p ci features/shipment.feature:8 # Scenario: Retrieve a list of shipments | |
cucumber -p ci features/states.feature:8 # Scenario: Retrieve a list of states | |
17 scenarios (9 failed, 8 passed) | |
108 steps (9 failed, 1 skipped, 98 passed) | |
0m20.844s | |
########################### auth ######################### | |
rm auth/Gemfile* | |
cd auth && rake test_app | |
(in /Users/mojo/Sites/huey/spree/auth) | |
run rake spree_auth:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/auth/spec/test_app) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/auth/spec/test_app) | |
cd auth && bundle exec cucumber -p ci | |
Using the ci profile... | |
................................................................................................................................................................................................................................................ | |
23 scenarios (23 passed) | |
226 steps (226 passed) | |
1m47.937s | |
########################### core ######################### | |
rm core/Gemfile* | |
cd core && rake test_app | |
(in /Users/mojo/Sites/huey/spree/core) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/core/spec/test_app) | |
cd core && bundle exec cucumber -p ci | |
Using the ci profile... | |
......................................................................................................................................................................................................................................F-.........................................................................................................................................F----........................................................................................................................................................................F.........F-----............................................................................................................................................................F---.....................................................................................................name: ascend_by_master_price | |
arguments: [] | |
wrong number of arguments (1 for 0) | |
/Users/mojo/Sites/huey/spree/core/lib/scopes/product.rb:54:in `block in <module:Product>' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/named_scope.rb:107:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/named_scope.rb:107:in `block in scope' | |
/Users/mojo/Sites/huey/spree/core/app/models/product_scope.rb:29:in `apply_on' | |
/Users/mojo/Sites/huey/spree/core/app/models/product_scope.rb:52:in `check_validity_of_scope' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:414:in `_run_validate_callbacks' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validations.rb:212:in `run_validations!' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validations/callbacks.rb:67:in `block in run_validations!' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:420:in `_run_validation_callbacks' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validations/callbacks.rb:67:in `run_validations!' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validations.rb:179:in `valid?' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/validations.rb:55:in `valid?' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/validations/associated.rb:5:in `block in validate_each' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/associations/association_collection.rb:431:in `block in method_missing' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/associations/association_proxy.rb:216:in `block in method_missing' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/associations/association_proxy.rb:216:in `collect' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/associations/association_proxy.rb:216:in `method_missing' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/associations/association_collection.rb:431:in `method_missing' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/validations/associated.rb:5:in `validate_each' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validator.rb:154:in `block in validate' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validator.rb:151:in `each' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validator.rb:151:in `validate' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:314:in `_callback_before_536' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:419:in `_run_validate_callbacks' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validations.rb:212:in `run_validations!' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validations/callbacks.rb:67:in `block in run_validations!' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:413:in `_run_validation_callbacks' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validations/callbacks.rb:67:in `run_validations!' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.5/lib/active_model/validations.rb:179:in `valid?' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/validations.rb:55:in `valid?' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/validations.rb:75:in `perform_validations' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/validations.rb:43:in `save' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/attribute_methods/dirty.rb:21:in `save' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:240:in `block (2 levels) in save' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:292:in `block in with_transaction_returning_status' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:207:in `transaction' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:290:in `with_transaction_returning_status' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:240:in `block in save' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:251:in `rollback_active_record_state!' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:239:in `save' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/persistence.rb:128:in `block in update_attributes' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:292:in `block in with_transaction_returning_status' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:207:in `transaction' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/transactions.rb:290:in `with_transaction_returning_status' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/persistence.rb:126:in `update_attributes' | |
/Users/mojo/Sites/huey/spree/core/app/controllers/admin/resource_controller.rb:18:in `update' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/abstract_controller/base.rb:150:in `process_action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_controller/metal/rendering.rb:11:in `process_action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:455:in `_run__2456119712840743949__process_action__2342114928715191587__callbacks' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:93:in `run_callbacks' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/abstract_controller/callbacks.rb:17:in `process_action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/notifications.rb:52:in `block in instrument' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/notifications/instrumenter.rb:21:in `instrument' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/notifications.rb:52:in `instrument' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_controller/metal/rescue.rb:17:in `process_action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/abstract_controller/base.rb:119:in `process' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb:41:in `process' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_controller/metal.rb:138:in `dispatch' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_controller/metal.rb:178:in `block in action' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb:62:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb:62:in `dispatch' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb:27:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148:in `block in call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:93:in `block in recognize' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:82:in `optimized_each' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:92:in `recognize' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/routing/route_set.rb:492:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/head.rb:14:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/flash.rb:182:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/cookies.rb:302:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/query_cache.rb:32:in `block in call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/query_cache.rb:12:in `cache' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/query_cache.rb:31:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:415:in `_run_call_callbacks' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/callbacks.rb:44:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/sendfile.rb:107:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.5/lib/rails/rack/logger.rb:13:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/runtime.rb:17:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/lock.rb:11:in `block in call' | |
<internal:prelude>:10:in `synchronize' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/lock.rb:11:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/middleware/static.rb:30:in `call'. | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.5/lib/rails/application.rb:168:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/urlmap.rb:47:in `block in call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/urlmap.rb:41:in `each' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/urlmap.rb:41:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/capybara-0.4.1.2/lib/capybara/server.rb:17:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/content_length.rb:13:in `call' | |
/Users/mojo/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/lib/rack/handler/webrick.rb:52:in `service' | |
/Users/mojo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' | |
/Users/mojo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' | |
/Users/mojo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' | |
.F-------------........................................................................................................................................................F-----...F---...F-----...F---------...F---------................................................................... | |
(::) failed steps (::) | |
undefined method `registered' for #<Class:0x00000101580550> (NoMethodError) | |
./app/controllers/admin/users_controller.rb:36:in `collection' | |
<internal:prelude>:10:in `synchronize' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:34:in `block (2 levels) in <top (required)>' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:13:in `with_scope' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:33:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
features/admin/homepage.feature:44:in `When I follow "Users"' | |
undefined method `click' for nil:NilClass (NoMethodError) | |
/Users/mojo/Sites/huey/spree/features/step_definitions/cukes_util.rb:98:in `/^I click first link from selector "(.*)"$/' | |
features/admin/orders/order_details.feature:58:in `When I click first link from selector "table td.actions a"' | |
expected: 1 | |
got: 0 (using ==) (RSpec::Expectations::ExpectationNotMetError) | |
/Users/mojo/Sites/huey/spree/features/step_definitions/cukes_util.rb:35:in `/^verify empty table for selector "(.*)"$/' | |
features/admin/products/edit/product_properties.feature:49:in `Then verify empty table for selector "table.index"' | |
undefined method `click' for nil:NilClass (NoMethodError) | |
/Users/mojo/Sites/huey/spree/features/step_definitions/cukes_util.rb:98:in `/^I click first link from selector "(.*)"$/' | |
features/admin/products/edit/product_properties.feature:31:in `When I click first link from selector "table#listing_products a.edit"' | |
undefined method `click' for nil:NilClass (NoMethodError) | |
/Users/mojo/Sites/huey/spree/features/step_definitions/cukes_util.rb:71:in `/^I click on first link with class "(.*)"$/' | |
features/admin/products/product_groups.feature:81:in `When I click on first link with class "admin_edit_product_group"' | |
expected: "apache cap" | |
got: "ruby on rails t-shirt" (using ==) (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/admin/product_groups.rb:27:in `/^I should see product groups products listing with (.*) by product name$/' | |
features/admin/products/product_groups.feature:226:in `Then I should see product groups products listing with ascend by product name' | |
undefined method `registered' for #<Class:0x00000101580550> (NoMethodError) | |
./app/controllers/admin/users_controller.rb:36:in `collection' | |
<internal:prelude>:10:in `synchronize' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:34:in `block (2 levels) in <top (required)>' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:13:in `with_scope' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:33:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
features/admin/users.feature:10:in `When I follow "Users"' | |
undefined method `registered' for #<Class:0x00000101580550> (NoMethodError) | |
./app/controllers/admin/users_controller.rb:36:in `collection' | |
<internal:prelude>:10:in `synchronize' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:34:in `block (2 levels) in <top (required)>' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:13:in `with_scope' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:33:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
features/admin/users.feature:24:in `When I follow "Users"' | |
undefined method `registered' for #<Class:0x00000101580550> (NoMethodError) | |
./app/controllers/admin/users_controller.rb:36:in `collection' | |
<internal:prelude>:10:in `synchronize' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:34:in `block (2 levels) in <top (required)>' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:13:in `with_scope' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:33:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
features/admin/users.feature:36:in `When I follow "Users"' | |
undefined method `registered' for #<Class:0x00000101580550> (NoMethodError) | |
./app/controllers/admin/users_controller.rb:36:in `collection' | |
<internal:prelude>:10:in `synchronize' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:34:in `block (2 levels) in <top (required)>' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:13:in `with_scope' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:33:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
features/admin/users.feature:50:in `When I follow "Users"' | |
undefined method `registered' for #<Class:0x00000101580550> (NoMethodError) | |
./app/controllers/admin/users_controller.rb:36:in `collection' | |
<internal:prelude>:10:in `synchronize' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:34:in `block (2 levels) in <top (required)>' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:13:in `with_scope' | |
/Users/mojo/Sites/huey/spree/features/step_definitions/web_steps.rb:33:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
features/admin/users.feature:68:in `When I follow "Users"' | |
Failing Scenarios: | |
cucumber -p ci features/admin/homepage.feature:5 # Scenario: Visiting admin home page | |
cucumber -p ci features/admin/orders/order_details.feature:51 # Scenario: edit order page with product information | |
cucumber -p ci features/admin/products/edit/product_properties.feature:35 # Scenario: admin managing product properties | |
cucumber -p ci features/admin/products/edit/product_properties.feature:52 # Scenario: admin managing product properties using prototypes | |
cucumber -p ci features/admin/products/product_groups.feature:76 # Scenario: applying scope product with option and value | |
cucumber -p ci features/admin/products/product_groups.feature:186 # Scenario: Visiting admin product groups page to edit it | |
cucumber -p ci features/admin/users.feature:3 # Scenario: users index page with sorting | |
cucumber -p ci features/admin/users.feature:17 # Scenario: search | |
cucumber -p ci features/admin/users.feature:29 # Scenario: users show page | |
cucumber -p ci features/admin/users.feature:43 # Scenario: edit user email | |
cucumber -p ci features/admin/users.feature:61 # Scenario: edit user password | |
110 scenarios (11 failed, 99 passed) | |
1089 steps (11 failed, 57 skipped, 1021 passed) | |
4m34.197s | |
########################### promo ######################### | |
rm promo/Gemfile* | |
cd promo && rake test_app | |
(in /Users/mojo/Sites/huey/spree/promo) | |
run rake spree_core:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/promo/spec/test_app) | |
run rake spree_promo:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/promo/spec/test_app) | |
INFO: Mirroring assets from /Users/mojo/Sites/huey/spree/promo/lib/tasks/../../public to /Users/mojo/Sites/huey/spree/promo/spec/test_app/public | |
run rake spree_auth:install from "./test_app" | |
(in /Users/mojo/Sites/huey/spree/promo/spec/test_app) | |
cd promo && bundle exec cucumber -p ci | |
Using the ci profile... | |
......................... | |
1 scenario (1 passed) | |
25 steps (25 passed) | |
0m32.902s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment