Skip to content

Instantly share code, notes, and snippets.

@calas
Created September 10, 2009 13:07
Show Gist options
  • Save calas/184543 to your computer and use it in GitHub Desktop.
Save calas/184543 to your computer and use it in GitHub Desktop.
jorge@chamonix:~/dev/qvitta/myBio/spree (0_8_99)$ rake spree:gem
(in /home/jorge/dev/qvitta/myBio/spree)
/home/jorge/dev/qvitta/myBio/spree/app/metal/create_admin_user.rb:7: warning: already initialized constant CONTINUE_CHAIN
........*....*...................****..*....***....***.***..*....***.........*.............................................................................
Pending:
StatesController should not allow deletion of a state from a default rails route (Not Yet Implemented)
./spec/controllers/states_controller_spec.rb:10
CountriesController should not allow deletion of a county from a default rails route (Not Yet Implemented)
./spec/controllers/countries_controller_spec.rb:14
Order next! should transition from 'shipment' to 'shipping_method' (not investigated)
./spec/models/shipping_order_spec.rb:100
Order next! should transition from 'shipping_method' to 'creditcard' (not investigated)
./spec/models/shipping_order_spec.rb:106
Order state_machine in 'address' state when there is more then one shipping method next! should transition to 'shipping_method' (not investigated)
./spec/models/shipping_order_spec.rb:89
Order state_machine in 'address' state when there are no shipping methods next! should transition to 'creditcard' (not investigated)
./spec/models/shipping_order_spec.rb:81
Order shipping_methods should return all shipping methiods that cover the shipping address (not investigated)
./spec/models/shipping_order_spec.rb:66
Order ship should mark inventory as shipped (doesn't seem to cause transition on inv unit)
./spec/models/shipping_order_spec.rb:17
Taxon should not be valid when empty (Can it really be valid when empty?)
./spec/models/taxon_spec.rb:20
Taxon should require name (Is this field mandatory?)
./spec/models/taxon_spec.rb:26
ProductOptionType should not be valid when empty (Shouldn't it require a position?)
./spec/models/product_option_type_spec.rb:19
ProductOptionType should require position (Shouldn't it require a position?)
./spec/models/product_option_type_spec.rb:25
ProductOptionType should be valid when having correct information (Shouldn't it require a product and an option type too?)
./spec/models/product_option_type_spec.rb:32
OptionValue should not be valid when empty (Shouldn't it require a name and a presentation?)
./spec/models/option_value_spec.rb:21
OptionValue should require name (Shouldn't it require a name and a presentation?)
./spec/models/option_value_spec.rb:27
OptionValue should require presentation (Shouldn't it require a name and a presentation?)
./spec/models/option_value_spec.rb:27
ProductProperty should be valid when having correct information (Shouldn't it require a product and a property too?)
./spec/models/product_property_spec.rb:23
Taxonomy should not be valid when empty (Can it really be valid when empty?)
./spec/models/taxonomy_spec.rb:18
Taxonomy should require name (Is this field mandatory?)
./spec/models/taxonomy_spec.rb:24
Taxonomy should require root (Is this field mandatory?)
./spec/models/taxonomy_spec.rb:24
Property should find all by prototype (Not Yet Implemented)
./spec/models/property_spec.rb:36
Finished in 4.197239 seconds
155 examples, 0 failures, 21 pending
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/state_event_test.rb" "test/unit/country_test.rb" "test/unit/factories_test.rb" "test/unit/coupon_test.rb" "test/unit/helpers/spree/base_helper_test.rb" "test/unit/helpers/checkouts_helper_test.rb" "test/unit/helpers/products_helper_test.rb" "test/unit/helpers/calculators_helper_test.rb" "test/unit/tax_rate_test.rb" "test/unit/product_test.rb" "test/unit/charge_test.rb" "test/unit/preference_test.rb" "test/unit/shipping_method_test.rb" "test/unit/per_item_calculator_test.rb" "test/unit/flat_percent_item_total_test.rb" "test/unit/address_test.rb" "test/unit/state_test.rb" "test/unit/vat_calculator_test.rb" "test/unit/creditcard_test.rb" "test/unit/incomplete_checkout_test.rb" "test/unit/checkout_test.rb" "test/unit/inventory_unit_test.rb" "test/unit/variant_test.rb" "test/unit/flat_rate_calculators_test.rb" "test/unit/sales_tax_calculator_test.rb" "test/unit/order_test.rb" "test/unit/credit_test.rb" "test/unit/has_calculator_test.rb" "test/unit/line_item_test.rb" "test/unit/creditcard_payment_test.rb"
/home/jorge/dev/qvitta/myBio/spree/app/metal/create_admin_user.rb:7: warning: already initialized constant CONTINUE_CHAIN
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_not_change(expression) is deprecated. Use should_not_change(description) { code } instead.
[DEPRECATION] should_not_change(expression) is deprecated. Use should_not_change(description) { code } instead.
[DEPRECATION] should_not_change(expression) is deprecated. Use should_not_change(description) { code } instead.
[DEPRECATION] should_not_change(expression) is deprecated. Use should_not_change(description) { code } instead.
[DEPRECATION] should_not_change(expression) is deprecated. Use should_not_change(description) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
./test/unit/flat_percent_item_total_test.rb:23: warning: don't put space before argument parentheses
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking': ./test/unit/flat_percent_item_total_test.rb:23: syntax error, unexpected ',', expecting kEND (SyntaxError)
assert_equal (123 * 10 / 100.0), @calculator.compute(@order)
^
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:147:in `load'
from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/calculators_controller_test.rb" "test/functional/checkouts_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/products_controller_test.rb"
/home/jorge/dev/qvitta/myBio/spree/app/metal/create_admin_user.rb:7: warning: already initialized constant CONTINUE_CHAIN
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_change(expression, options) is deprecated. Use should_change(description, options) { code } instead.
[DEPRECATION] should_not_change(expression) is deprecated. Use should_not_change(description) { code } instead.
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.EEEEEEEEEEEE.......
Finished in 7.639703 seconds.
1) Error:
test: given current_user post should assign the current_user email. (CheckoutsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Country with ID=1770263421
app/controllers/checkouts_controller.rb:116:in `load_data'
/usr/local/lib/ruby/gems/1.8/gems/haml-edge-2.3.27/lib/sass/plugin/rails.rb:19:in `process'
/test/test_helper.rb:20:in `post'
/test/functional/checkouts_controller_test.rb:30:in `__bind_1252587929_596122'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `call'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:350:in `test: given current_user post should assign the current_user email. '
2) Error:
test: given current_user post should assign the requested shipping method. (CheckoutsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Country with ID=1770263421
app/controllers/checkouts_controller.rb:116:in `load_data'
/usr/local/lib/ruby/gems/1.8/gems/haml-edge-2.3.27/lib/sass/plugin/rails.rb:19:in `process'
/test/test_helper.rb:20:in `post'
/test/functional/checkouts_controller_test.rb:30:in `__bind_1252587930_24116'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `call'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks'
/home/jorge/.gem/ruby/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:350:in `t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment