Created
September 5, 2010 22:30
-
-
Save spastorino/566389 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
$ rake test_sqlite3 | |
(in /home/santiago/Documents/Projs/rails/activerecord) | |
/usr/bin/ruby1.8 -w -I"lib:test:test/connections/native_sqlite3" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/cases/adapter_test.rb" "test/cases/adapters/sqlite3/copy_table_test.rb" "test/cases/adapters/sqlite3/sqlite3_adapter_test.rb" "test/cases/aggregations_test.rb" "test/cases/ar_schema_test.rb" "test/cases/associations/belongs_to_associations_test.rb" "test/cases/associations/callbacks_test.rb" "test/cases/associations/cascaded_eager_loading_test.rb" "test/cases/associations/eager_load_includes_full_sti_class_test.rb" "test/cases/associations/eager_load_nested_include_test.rb" "test/cases/associations/eager_singularization_test.rb" "test/cases/associations/eager_test.rb" "test/cases/associations/extension_test.rb" "test/cases/associations/habtm_join_table_test.rb" "test/cases/associations/has_and_belongs_to_many_associations_test.rb" "test/cases/associations/has_many_associations_test.rb" "test/cases/associations/has_many_through_associations_test.rb" "test/cases/associations/has_one_associations_test.rb" "test/cases/associations/has_one_through_associations_test.rb" "test/cases/associations/inner_join_association_test.rb" "test/cases/associations/inverse_associations_test.rb" "test/cases/associations/join_model_test.rb" "test/cases/associations_test.rb" "test/cases/attribute_methods_test.rb" "test/cases/autosave_association_test.rb" "test/cases/base_test.rb" "test/cases/batches_test.rb" "test/cases/binary_test.rb" "test/cases/calculations_test.rb" "test/cases/callbacks_test.rb" "test/cases/column_alias_test.rb" "test/cases/column_definition_test.rb" "test/cases/connection_management_test.rb" "test/cases/connection_pool_test.rb" "test/cases/counter_cache_test.rb" "test/cases/database_statements_test.rb" "test/cases/date_time_test.rb" "test/cases/defaults_test.rb" "test/cases/deprecated_finder_test.rb" "test/cases/dirty_test.rb" "test/cases/finder_respond_to_test.rb" "test/cases/finder_test.rb" "test/cases/fixtures_test.rb" "test/cases/i18n_test.rb" "test/cases/inheritance_test.rb" "test/cases/invalid_date_test.rb" "test/cases/json_serialization_test.rb" "test/cases/lifecycle_test.rb" "test/cases/locking_test.rb" "test/cases/log_subscriber_test.rb" "test/cases/mass_assignment_security_test.rb" "test/cases/method_scoping_test.rb" "test/cases/migration_test.rb" "test/cases/mixin_test.rb" "test/cases/modules_test.rb" "test/cases/multiple_db_test.rb" "test/cases/named_scope_test.rb" "test/cases/nested_attributes_test.rb" "test/cases/persistence_test.rb" "test/cases/pooled_connections_test.rb" "test/cases/primary_keys_test.rb" "test/cases/query_cache_test.rb" "test/cases/readonly_test.rb" "test/cases/reflection_test.rb" "test/cases/relation_scoping_test.rb" "test/cases/relations_test.rb" "test/cases/reload_models_test.rb" "test/cases/sanitize_test.rb" "test/cases/schema_dumper_test.rb" "test/cases/serialization_test.rb" "test/cases/session_store/session_test.rb" "test/cases/timestamp_test.rb" "test/cases/transaction_callbacks_test.rb" "test/cases/transactions_test.rb" "test/cases/unconnected_test.rb" "test/cases/validations/association_validation_test.rb" "test/cases/validations/i18n_generate_message_validation_test.rb" "test/cases/validations/i18n_validation_test.rb" "test/cases/validations/uniqueness_validation_test.rb" "test/cases/validations_test.rb" "test/cases/xml_serialization_test.rb" "test/cases/yaml_serialization_test.rb" | |
/usr/lib/ruby/1.8/pathname.rb:263: warning: `*' interpreted as argument prefix | |
Using native SQLite3 | |
Loaded suite /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader | |
Started | |
...........................................................................................................................................................................................................................................................................................................................................................E...............................................................................................................................................................................................................................................................F.FFF................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ | |
Finished in 570.218973 seconds. | |
1) Error: | |
test_reload_with_exclusive_scope(BasicsTest): | |
ActiveRecord::RecordNotFound: Couldn't find DeveloperCalledDavid with ID=1 [WHERE (name = 'David')] | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/relation/finder_methods.rb:296:in `find_one' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/relation/finder_methods.rb:281:in `find_with_ids' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/relation/finder_methods.rb:107:in `find' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/base.rb:439:in `__send__' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/base.rb:439:in `find' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/persistence.rb:198:in `reload' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/base.rb:885:in `unscoped' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/relation.rb:120:in `scoping' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/base.rb:885:in `unscoped' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/persistence.rb:198:in `reload' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/attribute_methods/dirty.rb:38:in `reload' | |
/home/santiago/Documents/Projs/rails/activerecord/lib/active_record/autosave_association.rb:189:in `reload' | |
./test/cases/base_test.rb:1001:in `test_reload_with_exclusive_scope' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/callbacks.rb:413:in `_run_setup_callbacks' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run' | |
2) Failure: | |
test_method_scope(DefaultScopingTest) | |
[./test/cases/relation_scoping_test.rb:370:in `test_method_scope' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/callbacks.rb:413:in `_run_setup_callbacks' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run']: | |
<[150000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
80000, | |
9000]> expected but was | |
<[100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
150000, | |
9000, | |
80000]>. | |
3) Failure: | |
test_named_scope_overwrites_default_with_method_syntax(DefaultScopingTest) | |
[./test/cases/relation_scoping_test.rb:402:in `test_named_scope_overwrites_default_with_method_syntax' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/callbacks.rb:413:in `_run_setup_callbacks' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run']: | |
<["fixture_9", | |
"fixture_8", | |
"fixture_7", | |
"fixture_6", | |
"fixture_5", | |
"fixture_4", | |
"fixture_3", | |
"fixture_10", | |
"Jamis", | |
"Jamis", | |
"David"]> expected but was | |
<["Jamis", | |
"fixture_9", | |
"fixture_8", | |
"fixture_7", | |
"fixture_6", | |
"fixture_5", | |
"fixture_4", | |
"fixture_3", | |
"fixture_10", | |
"David", | |
"Jamis"]>. | |
4) Failure: | |
test_nested_exclusive_scope(DefaultScopingTest) | |
[./test/cases/relation_scoping_test.rb:410:in `test_nested_exclusive_scope' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/callbacks.rb:413:in `_run_setup_callbacks' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run']: | |
<[80000, | |
150000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
9000]> expected but was | |
<[150000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
80000, | |
9000]>. | |
5) Failure: | |
test_nested_scope(DefaultScopingTest) | |
[./test/cases/relation_scoping_test.rb:378:in `test_nested_scope' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/callbacks.rb:413:in `_run_setup_callbacks' | |
/home/santiago/Documents/Projs/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run']: | |
<[150000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
80000, | |
9000]> expected but was | |
<[100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
100000, | |
150000, | |
9000, | |
80000]>. | |
2336 tests, 7322 assertions, 4 failures, 1 errors | |
rake aborted! | |
Command failed with status (1): [/usr/bin/ruby1.8 -w -I"lib:test:test/conne...] | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment