Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@stepheneb
Created October 13, 2009 05:43
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 stepheneb/209034 to your computer and use it in GitHub Desktop.
Save stepheneb/209034 to your computer and use it in GitHub Desktop.
[activerecord-jdbc-adapter.git (master)]$ jruby -S rake rails:test DRIVER=mysql RAILS=$RAILS_SOURCE
(in /Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git)
psql: FATAL: database "stephen" does not exist
mkdir -p pkg/classes
javac -target 1.5 -source 1.5 -d pkg/classes -cp "/Users/stephen/dev/test/jruby-git/lib/jruby.jar:/Users/stephen/dev/test/jruby-git/lib/profile.jar:.:/Users/stephen/dev/junit4.1:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsfd.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar:/Users/stephen/dev/test/jruby-git/lib/jruby.jar:/Users/stephen/dev/test/jruby-git/lib/bsf.jar" src/java/jdbc_adapter/JdbcAdapterInternalService.java src/java/jdbc_adapter/JdbcConnectionFactory.java src/java/jdbc_adapter/JdbcDerbySpec.java src/java/jdbc_adapter/JdbcMySQLSpec.java src/java/jdbc_adapter/MssqlRubyJdbcConnection.java src/java/jdbc_adapter/PostgresRubyJdbcConnection.java src/java/jdbc_adapter/RubyJdbcConnection.java src/java/jdbc_adapter/SQLBlock.java src/java/jdbc_adapter/Sqlite3RubyJdbcConnection.java
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: src/java/jdbc_adapter/RubyJdbcConnection.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
jar cf lib/jdbc_adapter/jdbc_adapter_internal.jar -C pkg/classes .
/Users/stephen/dev/test/jruby-git/bin/jruby -S rake RUBYLIB=/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib:/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/drivers/mysql/lib:/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/adapters/mysql/lib test_jdbcmysql
(in /Users/stephen/dev/ruby/src/gems/rails-git/activerecord)
/Users/stephen/dev/test/jruby-git/bin/jruby -I"lib:test:test/connections/jdbc_jdbcmysql" "/Users/stephen/dev/test/jruby-git/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/cases/aaa_create_tables_test.rb" "test/cases/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/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_observers_test.rb" "test/cases/callbacks_test.rb" "test/cases/class_inheritable_attributes_test.rb" "test/cases/column_alias_test.rb" "test/cases/column_definition_test.rb" "test/cases/connection_pool_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/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/pk_test.rb" "test/cases/pooled_connections_test.rb" "test/cases/query_cache_test.rb" "test/cases/readonly_test.rb" "test/cases/reflection_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/timestamp_test.rb" "test/cases/transactions_test.rb" "test/cases/unconnected_test.rb" "test/cases/validations_i18n_test.rb" "test/cases/validations_test.rb" "test/cases/xml_serialization_test.rb"
Using MySQL via JRuby, activerecord-jdbc-adapter and activerecord-jdbcmysql-adapter
Loaded suite /Users/stephen/dev/test/jruby-git/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
..............................................................EEE.E.EEEE.EE.EE.EE.EE.EE.E.EE.EE.EE.EE.E.EEEE..FF...............................................F............F.....................F........F..F.E........F...F.F...................................F........................................................................................................................................................................F.......................................F...F.......F..............................................................................E........................................................EEEEEEEEEEEEEEEEEEEEEEE.......EE...........................................................................................................................F...............FF......F.........F.FF...................FF.F...........................................E........................................................................................................................EE...........................E.....................................E...............................F...........FF..................................E..........................................................F.....................................................F...............................E..........FF.F..................................................................................................................................................................................EE.........F......................F...F.................FFF..............FFF..FFF.....FFF.FF........F...................................................................................EEEEEE..F.......................................F.............EEEEEEE...................................................................................FF.....................E.......................E.................E.........E...........F.....................E..................................................F.FF.................F.........................................F.F.F.F.......................
Finished in 52.298 seconds.
1) Error:
test_#validates_acceptance_of_given_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xa9bdaa>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:165:in `test_#validates_acceptance_of_given_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
2) Error:
test_#validates_acceptance_of_given_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x8f600>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:159:in `test_#validates_acceptance_of_given_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
3) Error:
test_#validates_associated_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x915405>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:484:in `test_#validates_associated_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
4) Error:
test_#validates_associated_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xa39f50>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:478:in `test_#validates_associated_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
5) Error:
test_#validates_confirmation_of_given_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xa5fe5f>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:143:in `test_#validates_confirmation_of_given_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
6) Error:
test_#validates_confirmation_of_given_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x4e467a>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:135:in `test_#validates_confirmation_of_given_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
7) Error:
test_#validates_exclusion_of_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xffa993>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:346:in `test_#validates_exclusion_of_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
8) Error:
test_#validates_exclusion_of_and_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x5f564c>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:338:in `test_#validates_exclusion_of_and_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
9) Error:
test_#validates_format_of_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x2dba5b>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:295:in `test_#validates_format_of_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
10) Error:
test_#validates_format_of_and_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x728a67>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:288:in `test_#validates_format_of_and_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
11) Error:
test_#validates_inclusion_of_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xfb16b9>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:320:in `test_#validates_inclusion_of_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
12) Error:
test_#validates_inclusion_of_and_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x862277>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:312:in `test_#validates_inclusion_of_and_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
13) Error:
test_#validates_length_of_(:is)_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xd386c9>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:249:in `test_#validates_length_of_(:is)_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
14) Error:
test_#validates_length_of_(:is)_and_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x12d0a1>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:242:in `test_#validates_length_of_(:is)_and_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
15) Error:
test_#validates_length_of_(:too_long)_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x939b2d>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:226:in `test_#validates_length_of_(:too_long)_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
16) Error:
test_#validates_length_of_(:too_long)_and_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x370c54>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:219:in `test_#validates_length_of_(:too_long)_and_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
17) Error:
test_#validates_length_of_(:too_short)_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x220afc>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:205:in `test_#validates_length_of_(:too_short)_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
18) Error:
test_#validates_length_of_(:too_short)_and_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x57f01d>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:199:in `test_#validates_length_of_(:too_short)_and_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
19) Error:
test_#validates_numericality_of_(:even)_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x6cc276>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:439:in `test_#validates_numericality_of_(:even)_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
20) Error:
test_#validates_numericality_of_(:even)_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x972b3e>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:432:in `test_#validates_numericality_of_(:even)_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
21) Error:
test_#validates_numericality_of_(:less_than)_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x5cc01d>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:462:in `test_#validates_numericality_of_(:less_than)_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
22) Error:
test_#validates_numericality_of_(:less_than)_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x53b6e3>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:455:in `test_#validates_numericality_of_(:less_than)_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
23) Error:
test_#validates_numericality_of_(:not_a_number,_w/o_:only_integer)_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x1d0bea>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:370:in `test_#validates_numericality_of_(:not_a_number,_w/o_:only_integer)_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
24) Error:
test_#validates_numericality_of_(:not_a_number,_w/o_:only_integer)_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xdd531f>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:363:in `test_#validates_numericality_of_(:not_a_number,_w/o_:only_integer)_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
25) Error:
test_#validates_numericality_of_(:not_a_number,_with_:only_integer)_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xa4972a>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:393:in `test_#validates_numericality_of_(:not_a_number,_with_:only_integer)_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
26) Error:
test_#validates_numericality_of_(:not_a_number,_with_:only_integer)_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x75a35b>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:386:in `test_#validates_numericality_of_(:not_a_number,_with_:only_integer)_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
27) Error:
test_#validates_numericality_of_(:odd)_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x4fb770>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:416:in `test_#validates_numericality_of_(:odd)_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
28) Error:
test_#validates_numericality_of_(:odd)_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xdbae20>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:409:in `test_#validates_numericality_of_(:odd)_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
29) Error:
test_#validates_presence_of_given_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x4a5406>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:185:in `test_#validates_presence_of_given_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
30) Error:
test_#validates_presence_of_given_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xa50b82>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:179:in `test_#validates_presence_of_given_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
31) Error:
test_#validates_uniqueness_of_and_a_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0x9331d4>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:272:in `test_#validates_uniqueness_of_and_a_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
32) Error:
test_#validates_uniqueness_of_and_no_custom_message(ActiveRecordValidationsI18nTests):
NoMethodError: undefined method `expects' for #<ActiveRecord::Errors:0xf4c52d>
./test/cases/validations_i18n_test.rb:94:in `expect_error_added'
./test/cases/validations_i18n_test.rb:265:in `test_#validates_uniqueness_of_and_no_custom_message'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
33) Failure:
test_add_limit_offset_should_sanitize_sql_injection_for_limit_with_comas(AdapterTest)
[./test/cases/adapter_test.rb:141:in `test_add_limit_offset_should_sanitize_sql_injection_for_limit_with_comas'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<" LIMIT 1,7"> expected but was
<" LIMIT 1, 7 procedure help()">.
34) Failure:
test_add_limit_offset_should_sanitize_sql_injection_for_limit_without_comas(AdapterTest)
[./test/cases/adapter_test.rb:127:in `test_add_limit_offset_should_sanitize_sql_injection_for_limit_without_comas'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<" LIMIT 1"> expected but was
<" LIMIT 1 select * from schema">.
35) Failure:
test_reload_returns_assocition(AssociationProxyTest)
[./test/cases/associations_test.rb:188:in `test_reload_returns_assocition'
./test/cases/associations_test.rb:187:in `test_reload_returns_assocition'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Project id: 2, name: "Active Controller", type: nil>, #<Project id: 1, name: "Active Record", type: nil>]> expected but was
<[#<Project id: 2, name: "Active Controller", type: nil>, #<Project id: 1, name: "Active Record", type: nil>]>.
36) Failure:
test_adding_to_has_many_through_should_return_self(AssociationsJoinModelTest)
[./test/cases/associations/join_model_test.rb:526:in `test_adding_to_has_many_through_should_return_self'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Tag id: 1, name: "General", taggings_count: 0>, #<Tag id: 1, name: "General", taggings_count: 0>]> expected but was
<[#<Tag id: 1, name: "General", taggings_count: 0>, #<Tag id: 1, name: "General", taggings_count: 0>]>.
37) Failure:
test_eager_has_many_polymorphic_with_source_type(AssociationsJoinModelTest)
[./test/cases/associations/join_model_test.rb:353:in `test_eager_has_many_polymorphic_with_source_type'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:28:in `assert_queries'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:35:in `assert_no_queries'
./test/cases/associations/join_model_test.rb:352:in `test_eager_has_many_polymorphic_with_source_type'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>,
#<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>]> expected but was
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>, #<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>]>.
38) Failure:
test_has_many_going_through_join_model_with_custom_foreign_key(AssociationsJoinModelTest)
[./test/cases/associations/join_model_test.rb:307:in `test_has_many_going_through_join_model_with_custom_foreign_key'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[]> expected but was
<[]>.
39) Failure:
test_has_many_polymorphic_with_source_type(AssociationsJoinModelTest)
[./test/cases/associations/join_model_test.rb:346:in `test_has_many_polymorphic_with_source_type'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>,
#<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>]> expected but was
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>, #<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>]>.
40) Error:
test_has_many_through_collection_size_uses_counter_cache_if_it_exists(AssociationsJoinModelTest):
NoMethodError: undefined method `stubs' for #<Author:0xec000c>
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/attribute_methods.rb:260:in `method_missing'
./test/cases/associations/join_model_test.rb:515:in `test_has_many_through_collection_size_uses_counter_cache_if_it_exists'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
41) Failure:
test_has_many_through_has_many_with_sti(AssociationsJoinModelTest)
[./test/cases/associations/join_model_test.rb:592:in `test_has_many_through_has_many_with_sti'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<SpecialComment id: 3, post_id: 2, body: "Don't think too hard", type: "SpecialComment">]> expected but was
<[#<SpecialComment id: 3, post_id: 2, body: "Don't think too hard", type: "SpecialComment">]>.
42) Failure:
test_has_many_through_join_model_with_conditions(AssociationsJoinModelTest)
[./test/cases/associations/join_model_test.rb:332:in `test_has_many_through_join_model_with_conditions'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[]> expected but was
<[]>.
43) Failure:
test_has_many_through_polymorphic_has_one(AssociationsJoinModelTest)
[./test/cases/associations/join_model_test.rb:380:in `test_has_many_through_polymorphic_has_one'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Tagging id: 1, tag_id: 1, super_tag_id: 2, taggable_type: "Post", taggable_id: 1>,
#<Tagging id: 2, tag_id: 1, super_tag_id: nil, taggable_type: "Post", taggable_id: 2>]> expected but was
<[#<Tagging id: 1, tag_id: 1, super_tag_id: 2, taggable_type: "Post", taggable_id: 1>, #<Tagging id: 2, tag_id: 1, super_tag_id: nil, taggable_type: "Post", taggable_id: 2>]>.
44) Failure:
test_self_referential_has_many_through(AssociationsJoinModelTest)
[./test/cases/associations/join_model_test.rb:426:in `test_self_referential_has_many_through'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Author id: 2, name: "Mary", author_address_id: nil, author_address_extra_id: nil>]> expected but was
<[#<Author id: 2, name: "Mary", author_address_id: nil, author_address_extra_id: nil>]>.
45) Failure:
test_read_attributes_before_type_cast_on_datetime(BasicsTest)
[./test/cases/base_test.rb:148:in `test_read_attributes_before_type_cast_on_datetime'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"2009-10-13 01:41:55"> expected but was
<"2009-10-13 01:41:55.0">.
46) Failure:
test_to_xml_including_methods(BasicsTest)
[./test/cases/base_test.rb:2033:in `test_to_xml_including_methods'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> is not true.
47) Failure:
test_to_xml_with_block(BasicsTest)
[./test/cases/base_test.rb:2042:in `test_to_xml_with_block'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> is not true.
48) Failure:
test_update_all_with_order_and_limit_updates_subset_only(BasicsTest)
[./test/cases/base_test.rb:693:in `test_update_all_with_order_and_limit_updates_subset_only'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
Exception raised:
Class: <ActiveRecord::StatementInvalid>
Message: <"ActiveRecord::ActiveRecordError: This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery': UPDATE `posts` SET body = 'bulk update!' WHERE `id` IN (SELECT `id` FROM `posts` WHERE (`posts`.author_id = 1) ORDER BY posts.id LIMIT 1)">
---Backtrace---
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:219:in `log'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/active_record/connection_adapters/jdbc_adapter.rb:559:in `execute'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/helper.rb:36:in `execute_with_query_record'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/active_record/connection_adapters/jdbc_adapter.rb:578:in `jdbc_update'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/query_cache.rb:25:in `update_with_query_dirty'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/base.rb:847:in `update_all'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/associations/association_collection.rb:380:in `method_missing'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/base.rb:2143:in `with_scope'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/associations/association_proxy.rb:206:in `with_scope'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/associations/association_collection.rb:376:in `method_missing'
./test/cases/base_test.rb:696:in `test_update_all_with_order_and_limit_updates_subset_only'
./test/cases/base_test.rb:693:in `test_update_all_with_order_and_limit_updates_subset_only'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
---------------
49) Error:
test_should_group_by_association_with_non_numeric_foreign_key(CalculationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/calculations_test.rb:173:in `test_should_group_by_association_with_non_numeric_foreign_key'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
50) Error:
test_add_belongs_to_works_like_add_references(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1348:in `test_add_belongs_to_works_like_add_references'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1347:in `test_add_belongs_to_works_like_add_references'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
51) Error:
test_change_changes_column(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1468:in `test_change_changes_column'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1467:in `test_change_changes_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
52) Error:
test_change_changes_column_with_options(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1475:in `test_change_changes_column_with_options'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1474:in `test_change_changes_column_with_options'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
53) Error:
test_change_default_changes_column(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1482:in `test_change_default_changes_column'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1481:in `test_change_default_changes_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
54) Error:
test_column_creates_column(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1440:in `test_column_creates_column'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1439:in `test_column_creates_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
55) Error:
test_column_creates_column_with_options(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1447:in `test_column_creates_column_with_options'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1446:in `test_column_creates_column_with_options'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
56) Error:
test_index_creates_index(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1454:in `test_index_creates_index'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1453:in `test_index_creates_index'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
57) Error:
test_index_creates_index_with_options(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1461:in `test_index_creates_index_with_options'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1460:in `test_index_creates_index_with_options'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
58) Error:
test_integer_creates_integer_column(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1424:in `test_integer_creates_integer_column'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1423:in `test_integer_creates_integer_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
59) Error:
test_references_column_type_adds_id(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1334:in `test_references_column_type_adds_id'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1333:in `test_references_column_type_adds_id'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
60) Error:
test_references_column_type_with_polymorphic_adds_type(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1362:in `test_references_column_type_with_polymorphic_adds_type'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1361:in `test_references_column_type_with_polymorphic_adds_type'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
61) Error:
test_references_column_type_with_polymorphic_and_options_null_is_false_adds_table_flag(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1378:in `test_references_column_type_with_polymorphic_and_options_null_is_false_adds_table_flag'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1377:in `test_references_column_type_with_polymorphic_and_options_null_is_false_adds_table_flag'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
62) Error:
test_remove_belongs_to_works_like_remove_references(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1355:in `test_remove_belongs_to_works_like_remove_references'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1354:in `test_remove_belongs_to_works_like_remove_references'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
63) Error:
test_remove_drops_multiple_columns(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1496:in `test_remove_drops_multiple_columns'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1495:in `test_remove_drops_multiple_columns'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
64) Error:
test_remove_drops_single_column(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1489:in `test_remove_drops_single_column'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1488:in `test_remove_drops_single_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
65) Error:
test_remove_index_removes_index_with_options(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1503:in `test_remove_index_removes_index_with_options'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1502:in `test_remove_index_removes_index_with_options'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
66) Error:
test_remove_references_column_type_removes_id(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1341:in `test_remove_references_column_type_removes_id'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1340:in `test_remove_references_column_type_removes_id'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
67) Error:
test_remove_references_column_type_with_polymorphic_and_options_null_is_false_removes_table_flag(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1386:in `test_remove_references_column_type_with_polymorphic_and_options_null_is_false_removes_table_flag'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1385:in `test_remove_references_column_type_with_polymorphic_and_options_null_is_false_removes_table_flag'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
68) Error:
test_remove_references_column_type_with_polymorphic_removes_type(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1370:in `test_remove_references_column_type_with_polymorphic_removes_type'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1369:in `test_remove_references_column_type_with_polymorphic_removes_type'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
69) Error:
test_remove_timestamps_creates_updated_at_and_created_at(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1401:in `test_remove_timestamps_creates_updated_at_and_created_at'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1400:in `test_remove_timestamps_creates_updated_at_and_created_at'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
70) Error:
test_rename_renames_column(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1510:in `test_rename_renames_column'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1509:in `test_rename_renames_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
71) Error:
test_string_creates_string_column(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1432:in `test_string_creates_string_column'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1431:in `test_string_creates_string_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
72) Error:
test_timestamps_creates_updated_at_and_created_at(ChangeTableMigrationsTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x998709>
./test/cases/migration_test.rb:1394:in `test_timestamps_creates_updated_at_and_created_at'
./test/cases/migration_test.rb:1518:in `with_change_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:175:in `change_table'
./test/cases/migration_test.rb:1517:in `with_change_table'
./test/cases/migration_test.rb:1393:in `test_timestamps_creates_updated_at_and_created_at'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
73) Error:
test_clears_active_connections_after_each_call(ConnectionManagementTest):
NoMethodError: undefined method `stub' for #<ConnectionManagementTest:0x55d3de>
./test/cases/connection_pool_test.rb:6:in `setup'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:61:in `run'
74) Error:
test_doesn't_clear_active_connections_when_running_in_a_test_case(ConnectionManagementTest):
NoMethodError: undefined method `stub' for #<ConnectionManagementTest:0xebac54>
./test/cases/connection_pool_test.rb:6:in `setup'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:61:in `run'
75) Failure:
test_eager_loading_with_select_on_joined_table_preloads(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:775:in `test_eager_loading_with_select_on_joined_table_preloads'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Comment id: 2, post_id: 1, body: "Thank you again for the welcome", type: "Comment">, #<Comment id: 1, post_id: 1, body: "Thank you for the welcome", type: "Comment">]> expected but was
<[#<Comment id: 2, post_id: 1, body: "Thank you again for the welcome", type: "Comment">, #<Comment id: 1, post_id: 1, body: "Thank you for the welcome", type: "Comment">]>.
76) Failure:
test_eager_with_has_many_through_an_sti_join_model(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:342:in `test_eager_with_has_many_through_an_sti_join_model'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<SpecialComment id: 3, post_id: 2, body: "Don't think too hard", type: "SpecialComment">]> expected but was
<[#<SpecialComment id: 3, post_id: 2, body: "Don't think too hard", type: "SpecialComment">]>.
77) Failure:
test_eager_with_has_many_through_an_sti_join_model_with_conditions_on_both(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:347:in `test_eager_with_has_many_through_an_sti_join_model_with_conditions_on_both'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[]> expected but was
<[]>.
78) Failure:
test_eager_with_multi_table_conditional_properly_counts_the_records_when_using_size(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:560:in `test_eager_with_multi_table_conditional_properly_counts_the_records_when_using_size'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>]> expected but was
<[#<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>]>.
79) Failure:
test_include_has_many_using_primary_key(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:814:in `test_include_has_many_using_primary_key'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:28:in `assert_queries'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:35:in `assert_no_queries'
./test/cases/associations/eager_test.rb:813:in `test_include_has_many_using_primary_key'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Client id: 2, type: "Client", ruby_type: "Client", firm_id: 1, firm_name: "37signals", name: "Summit", client_of: 2, rating: 1>]> expected but was
<[#<Client id: 2, type: "Client", ruby_type: "Client", firm_id: 1, firm_name: "37signals", name: "Summit", client_of: 2, rating: 1>]>.
80) Failure:
test_including_duplicate_objects_from_belongs_to(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:98:in `test_including_duplicate_objects_from_belongs_to'
./test/cases/associations/eager_test.rb:97:in `each'
./test/cases/associations/eager_test.rb:97:in `test_including_duplicate_objects_from_belongs_to'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Comment id: 13, post_id: 23, body: "lol", type: nil>]> expected but was
<[#<Comment id: 13, post_id: 23, body: "lol", type: nil>]>.
81) Failure:
test_including_duplicate_objects_from_has_many(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:111:in `test_including_duplicate_objects_from_has_many'
./test/cases/associations/eager_test.rb:110:in `each'
./test/cases/associations/eager_test.rb:110:in `test_including_duplicate_objects_from_has_many'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Comment id: 14, post_id: 24, body: "hmm", type: nil>]> expected but was
<[#<Comment id: 14, post_id: 24, body: "hmm", type: nil>]>.
82) Failure:
test_preload_has_many_uses_exclusive_scope(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:798:in `test_preload_has_many_uses_exclusive_scope'
./test/cases/associations/eager_test.rb:797:in `each'
./test/cases/associations/eager_test.rb:797:in `test_preload_has_many_uses_exclusive_scope'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[]> expected but was
<[]>.
83) Failure:
test_preload_has_many_using_primary_key(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:806:in `test_preload_has_many_using_primary_key'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:28:in `assert_queries'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:35:in `assert_no_queries'
./test/cases/associations/eager_test.rb:805:in `test_preload_has_many_using_primary_key'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Client id: 2, type: "Client", ruby_type: "Client", firm_id: 1, firm_name: "37signals", name: "Summit", client_of: 2, rating: 1>]> expected but was
<[#<Client id: 2, type: "Client", ruby_type: "Client", firm_id: 1, firm_name: "37signals", name: "Summit", client_of: 2, rating: 1>]>.
84) Failure:
test_preload_with_interpolation(EagerAssociationTest)
[./test/cases/associations/eager_test.rb:593:in `test_preload_with_interpolation'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Comment id: 1, post_id: 1, body: "Thank you for the welcome", type: "Comment">]> expected but was
<[#<Comment id: 1, post_id: 1, body: "Thank you for the welcome", type: "Comment">]>.
85) Error:
test_dynamic_finders_should_go_through_the_find_class_method(FinderTest):
NoMethodError: undefined method `expects' for #<Class:0x8c69d>
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/base.rb:1959:in `method_missing'
./test/cases/finder_test.rb:538:in `test_dynamic_finders_should_go_through_the_find_class_method'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
86) Error:
test_does_not_logs_message_for_successful_dependency_load(FixtureLoadingTest):
NoMethodError: undefined method `expects' for ActiveRecord::TestCase:Class
./test/cases/fixtures_test.rb:652:in `test_does_not_logs_message_for_successful_dependency_load'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
87) Error:
test_logs_message_for_failed_dependency_load(FixtureLoadingTest):
NoMethodError: undefined method `expects' for ActiveRecord::TestCase:Class
./test/cases/fixtures_test.rb:646:in `test_logs_message_for_failed_dependency_load'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
88) Error:
test_reloading_fixtures_through_accessor_methods(FixturesWithoutInstantiationTest):
NoMethodError: undefined method `expects' for #<Fixture:0xa7d8dc>
./test/cases/fixtures_test.rb:270:in `test_reloading_fixtures_through_accessor_methods'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
89) Error:
test_association_proxy_transaction_method_starts_transaction_in_association_class(HasAndBelongsToManyAssociationsTest):
NoMethodError: undefined method `expects' for #<Class:0x88a3c4>
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/base.rb:1959:in `method_missing'
./test/cases/associations/has_and_belongs_to_many_associations_test.rb:806:in `test_association_proxy_transaction_method_starts_transaction_in_association_class'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
90) Failure:
test_find_in_association_with_custom_finder_sql_and_multiple_interpolations(HasAndBelongsToManyAssociationsTest)
[./test/cases/associations/has_and_belongs_to_many_associations_test.rb:492:in `test_find_in_association_with_custom_finder_sql_and_multiple_interpolations'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
first interpolation.
<[#<Developer id: 1, name: "David", salary: 80000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">,
#<Developer id: 2, name: "Jamis", salary: 150000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">,
#<Developer id: 11, name: "Jamis", salary: 9000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">]> expected but was
<[#<Developer id: 1, name: "David", salary: 80000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">, #<Developer id: 2, name: "Jamis", salary: 150000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">, #<Developer id: 11, name: "Jamis", salary: 9000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">]>.
91) Failure:
test_habtm_saving_multiple_relationships(HasAndBelongsToManyAssociationsTest)
[./test/cases/associations/has_and_belongs_to_many_associations_test.rb:224:in `test_habtm_saving_multiple_relationships'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Developer id: 37, name: "JME 3", salary: 70000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">,
#<Developer id: 36, name: "JME 2", salary: 70000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">,
#<Developer id: 35, name: "JME 1", salary: 70000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">,
#<Developer id: 34, name: "JME 0", salary: 70000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">]> expected but was
<[#<Developer id: 37, name: "JME 3", salary: 70000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">, #<Developer id: 36, name: "JME 2", salary: 70000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">, #<Developer id: 35, name: "JME 1", salary: 70000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">, #<Developer id: 34, name: "JME 0", salary: 70000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">]>.
92) Failure:
test_habtm_unique_order_preserved(HasAndBelongsToManyAssociationsTest)
[./test/cases/associations/has_and_belongs_to_many_associations_test.rb:228:in `test_habtm_unique_order_preserved'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Developer id: 11, name: "Jamis", salary: 9000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">,
#<Developer id: 2, name: "Jamis", salary: 150000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">,
#<Developer id: 1, name: "David", salary: 80000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">]> expected but was
<[#<Developer id: 11, name: "Jamis", salary: 9000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">, #<Developer id: 2, name: "Jamis", salary: 150000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">, #<Developer id: 1, name: "David", salary: 80000, created_at: "2009-10-13 01:42:07", updated_at: "2009-10-13 01:42:07">]>.
93) Error:
test_association_proxy_transaction_method_starts_transaction_in_association_class(HasManyAssociationsTest):
NoMethodError: undefined method `expects' for Comment(id: integer, post_id: integer, body: text, type: string):Class
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/base.rb:1959:in `method_missing'
./test/cases/associations/has_many_associations_test.rb:1099:in `test_association_proxy_transaction_method_starts_transaction_in_association_class'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
94) Failure:
test_depends_and_nullify(HasManyAssociationsTest)
[./test/cases/associations/has_many_associations_test.rb:826:in `test_depends_and_nullify'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Company id: 7, type: nil, ruby_type: nil, firm_id: nil, firm_name: nil, name: "Leetsoft", client_of: 6, rating: 1>,
#<Company id: 8, type: nil, ruby_type: nil, firm_id: nil, firm_name: nil, name: "Jadedpixel", client_of: 6, rating: 1>]> expected but was
<[#<Company id: 7, type: nil, ruby_type: nil, firm_id: nil, firm_name: nil, name: "Leetsoft", client_of: 6, rating: 1>, #<Company id: 8, type: nil, ruby_type: nil, firm_id: nil, firm_name: nil, name: "Jadedpixel", client_of: 6, rating: 1>]>.
95) Failure:
test_has_many_through_respects_hash_conditions(HasManyAssociationsTest)
[./test/cases/associations/has_many_associations_test.rb:956:in `test_has_many_through_respects_hash_conditions'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Post id: 4, author_id: 1, title: "sti comments", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>, #<StiPost id: 5, author_id: 1, title: "sti me", body: "hello", type: "StiPost", comments_count: 0, taggings_count: 0>, #<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>]> expected but was
<[#<Post id: 4, author_id: 1, title: "sti comments", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>, #<StiPost id: 5, author_id: 1, title: "sti me", body: "hello", type: "StiPost", comments_count: 0, taggings_count: 0>, #<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>]>.
96) Error:
test_association_proxy_transaction_method_starts_transaction_in_association_class(HasManyThroughAssociationsTest):
NoMethodError: undefined method `expects' for Tag(id: integer, name: string, taggings_count: integer):Class
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/base.rb:1959:in `method_missing'
./test/cases/associations/has_many_through_associations_test.rb:283:in `test_association_proxy_transaction_method_starts_transaction_in_association_class'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
97) Failure:
test_has_many_association_through_a_belongs_to_association(HasManyThroughAssociationsTest)
[./test/cases/associations/has_many_through_associations_test.rb:301:in `test_has_many_association_through_a_belongs_to_association'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<AuthorFavorite id: 5, author_id: 2, favorite_author_id: 1>, #<AuthorFavorite id: 6, author_id: 2, favorite_author_id: 2>, #<AuthorFavorite id: 7, author_id: 2, favorite_author_id: 3>]> expected but was
<[#<AuthorFavorite id: 5, author_id: 2, favorite_author_id: 1>, #<AuthorFavorite id: 6, author_id: 2, favorite_author_id: 2>, #<AuthorFavorite id: 7, author_id: 2, favorite_author_id: 3>]>.
98) Failure:
test_has_many_association_through_a_belongs_to_association_where_the_association_doesnt_exist(HasManyThroughAssociationsTest)
[./test/cases/associations/has_many_through_associations_test.rb:292:in `test_has_many_association_through_a_belongs_to_association_where_the_association_doesnt_exist'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[]> expected but was
<[]>.
99) Failure:
test_has_many_through_has_one_reflection(HasManyThroughAssociationsTest)
[./test/cases/associations/has_many_through_associations_test.rb:314:in `test_has_many_through_has_one_reflection'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<VerySpecialComment id: 5, post_id: 4, body: "Very Special type", type: "VerySpecialComment">]> expected but was
<[#<VerySpecialComment id: 5, post_id: 4, body: "Very Special type", type: "VerySpecialComment">]>.
100) Error:
test_create_table_with_defaults(MigrationTest):
ActiveRecord::StatementInvalid: ActiveRecord::ActiveRecordError: BLOB/TEXT column 'five' can't have a default value: CREATE TABLE `testings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `one` varchar(255) DEFAULT 'hello', `two` tinyint(1) DEFAULT 1, `three` tinyint(1) DEFAULT 0, `four` integer(10) DEFAULT 1, `five` text DEFAULT 'hello') ENGINE=InnoDB CHARACTER SET `utf8`
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:219:in `log'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/active_record/connection_adapters/jdbc_adapter.rb:559:in `execute'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/helper.rb:36:in `execute_with_query_record'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `create_table'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:174:in `create_table'
./test/cases/migration_test.rb:167:in `test_create_table_with_defaults'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
101) Error:
test_create_table_with_force_true_does_not_drop_nonexisting_table(MigrationTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x9876aa>
./test/cases/migration_test.rb:272:in `test_create_table_with_force_true_does_not_drop_nonexisting_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
102) Failure:
test_keeping_default_and_notnull_constaint_on_change(MigrationTest)
[./test/cases/migration_test.rb:793:in `test_keeping_default_and_notnull_constaint_on_change'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> expected but was
<true>.
103) Failure:
test_rename_column_preserves_default_value_not_null(MigrationTest)
[./test/cases/migration_test.rb:574:in `test_rename_column_preserves_default_value_not_null'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<70000> expected but was
<nil>.
104) Failure:
test_rename_nonexistent_column(MigrationTest)
[./test/cases/migration_test.rb:590:in `test_rename_nonexistent_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<ActiveRecord::ActiveRecordError> exception expected but was
Class: <NoMethodError>
Message: <"undefined method `[]' for nil:NilClass">
---Backtrace---
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:203:in `rename_column'
./test/cases/migration_test.rb:591:in `test_rename_nonexistent_column'
./test/cases/migration_test.rb:590:in `test_rename_nonexistent_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
---------------
105) Failure:
test_active_records_have_scope_named__all__(NamedScopeTest)
[./test/cases/named_scope_test.rb:163:in `test_active_records_have_scope_named__all__'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">,
#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]> expected but was
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">, #<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]>.
106) Failure:
test_active_records_have_scope_named__scoped__(NamedScopeTest)
[./test/cases/named_scope_test.rb:169:in `test_active_records_have_scope_named__scoped__'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">]> expected but was
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">]>.
107) Failure:
test_any_should_call_proxy_found_if_using_a_block(NamedScopeTest)
[/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:31:in `assert_queries'
./test/cases/named_scope_test.rb:225:in `test_any_should_call_proxy_found_if_using_a_block'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
0 instead of 1 queries were executed.
<1> expected but was
<0>.
108) Failure:
test_has_many_associations_have_access_to_named_scopes(NamedScopeTest)
[./test/cases/named_scope_test.rb:141:in `test_has_many_associations_have_access_to_named_scopes'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>,
#<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>]> expected but was
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>, #<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>]>.
109) Failure:
test_has_many_through_associations_have_access_to_named_scopes(NamedScopeTest)
[./test/cases/named_scope_test.rb:148:in `test_has_many_through_associations_have_access_to_named_scopes'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Comment id: 1, post_id: 1, body: "Thank you for the welcome", type: "Comment">,
#<Comment id: 2, post_id: 1, body: "Thank you again for the welcome", type: "Comment">,
#<VerySpecialComment id: 5, post_id: 4, body: "Very Special type", type: "VerySpecialComment">,
#<SpecialComment id: 6, post_id: 4, body: "Special type", type: "SpecialComment">,
#<SpecialComment id: 7, post_id: 4, body: "Special type 2", type: "SpecialComment">,
#<Comment id: 8, post_id: 4, body: "Normal type", type: "Comment">,
#<Comment id: 9, post_id: 5, body: "Normal type", type: "Comment">,
#<SpecialComment id: 10, post_id: 5, body: "Special Type", type: "SpecialComment">]> expected but was
<[#<Comment id: 1, post_id: 1, body: "Thank you for the welcome", type: "Comment">, #<Comment id: 2, post_id: 1, body: "Thank you again for the welcome", type: "Comment">, #<VerySpecialComment id: 5, post_id: 4, body: "Very Special type", type: "VerySpecialComment">, #<SpecialComment id: 6, post_id: 4, body: "Special type", type: "SpecialComment">, #<SpecialComment id: 7, post_id: 4, body: "Special type 2", type: "SpecialComment">, #<Comment id: 8, post_id: 4, body: "Normal type", type: "Comment">, #<Comment id: 9, post_id: 5, body: "Normal type", type: "Comment">, #<SpecialComment id: 10, post_id: 5, body: "Special Type", type: "SpecialComment">]>.
110) Failure:
test_implements_enumerable(NamedScopeTest)
[./test/cases/named_scope_test.rb:15:in `test_implements_enumerable'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">,
#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]> expected but was
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">, #<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]>.
111) Failure:
test_named_scopes_honor_current_scopes_from_when_defined(NamedScopeTest)
[./test/cases/named_scope_test.rb:156:in `test_named_scopes_honor_current_scopes_from_when_defined'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>, #<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>, #<Post id: 4, author_id: 1, title: "sti comments", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>, #<StiPost id: 5, author_id: 1, title: "sti me", body: "hello", type: "StiPost", comments_count: 0, taggings_count: 0>, #<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>]> expected but was
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>, #<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>, #<Post id: 4, author_id: 1, title: "sti comments", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>, #<StiPost id: 5, author_id: 1, title: "sti me", body: "hello", type: "StiPost", comments_count: 0, taggings_count: 0>, #<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>]>.
112) Failure:
test_procedural_scopes(NamedScopeTest)
[./test/cases/named_scope_test.rb:98:in `test_procedural_scopes'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">]> expected but was
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">]>.
113) Failure:
test_procedural_scopes_returning_nil(NamedScopeTest)
[./test/cases/named_scope_test.rb:105:in `test_procedural_scopes_returning_nil'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">,
#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]> expected but was
<[#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "2003-07-16 10:28:11", bonus_time: "2000-01-01 09:28:00", last_read: "2004-04-15", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">, #<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]>.
114) Failure:
test_scopes_are_composable(NamedScopeTest)
[./test/cases/named_scope_test.rb:85:in `test_scopes_are_composable'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">,
#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]> expected but was
<[#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">, #<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]>.
115) Failure:
test_scopes_can_be_specified_with_deep_hash_conditions(NamedScopeTest)
[./test/cases/named_scope_test.rb:81:in `test_scopes_can_be_specified_with_deep_hash_conditions'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>]> expected but was
<[#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>]>.
116) Failure:
test_scopes_with_joins(NamedScopeTest)
[./test/cases/named_scope_test.rb:114:in `test_scopes_with_joins'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>,
#<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>,
#<Post id: 4, author_id: 1, title: "sti comments", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>,
#<StiPost id: 5, author_id: 1, title: "sti me", body: "hello", type: "StiPost", comments_count: 0, taggings_count: 0>,
#<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>]> expected but was
<[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_count: 1>, #<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_count: 1>, #<Post id: 4, author_id: 1, title: "sti comments", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>, #<StiPost id: 5, author_id: 1, title: "sti me", body: "hello", type: "StiPost", comments_count: 0, taggings_count: 0>, #<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_count: 0>]>.
117) Failure:
test_scopes_with_options_limit_finds_to_those_matching_the_criteria_specified(NamedScopeTest)
[./test/cases/named_scope_test.rb:70:in `test_scopes_with_options_limit_finds_to_those_matching_the_criteria_specified'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">,
#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>,
#<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]> expected but was
<[#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">, #<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>, #<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]>.
118) Failure:
test_scopes_with_string_name_can_be_composed(NamedScopeTest)
[./test/cases/named_scope_test.rb:77:in `test_scopes_with_string_name_can_be_composed'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>]> expected but was
<[#<Topic id: 3, title: "The Third Topic of the day", author_name: "Nick", author_email_address: nil, written_on: "2005-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "I'm a troll", approved: true, replies_count: 1, parent_id: nil, parent_title: nil, type: nil>]>.
119) Failure:
test_subclasses_inherit_scopes(NamedScopeTest)
[./test/cases/named_scope_test.rb:64:in `test_subclasses_inherit_scopes'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">,
#<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]> expected but was
<[#<Reply id: 2, title: "The Second Topic of the day", author_name: "Mary", author_email_address: nil, written_on: "2004-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Have a nice day", approved: true, replies_count: 0, parent_id: 1, parent_title: nil, type: "Reply">, #<Reply id: 4, title: "The Fourth Topic of the day", author_name: "Carl", author_email_address: nil, written_on: "2006-07-15 10:28:00", bonus_time: nil, last_read: nil, content: "Why not?", approved: true, replies_count: 0, parent_id: 3, parent_title: nil, type: "Reply">]>.
120) Error:
test_cache_is_expired_by_habtm_delete(QueryCacheExpiryTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0xdc8b49>
./test/cases/query_cache_test.rb:115:in `test_cache_is_expired_by_habtm_delete'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
121) Error:
test_cache_is_expired_by_habtm_update(QueryCacheExpiryTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0xdc8b49>
./test/cases/query_cache_test.rb:106:in `test_cache_is_expired_by_habtm_update'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
122) Error:
test_destroy(QueryCacheExpiryTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0xdc8b49>
./test/cases/query_cache_test.rb:90:in `test_destroy'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
123) Error:
test_find(QueryCacheExpiryTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0xdc8b49>
./test/cases/query_cache_test.rb:62:in `test_find'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
124) Error:
test_insert(QueryCacheExpiryTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0xdc8b49>
./test/cases/query_cache_test.rb:98:in `test_insert'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
125) Error:
test_update(QueryCacheExpiryTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0xdc8b49>
./test/cases/query_cache_test.rb:80:in `test_update'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
126) Failure:
test_count_queries_with_cache(QueryCacheTest)
[/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:31:in `assert_queries'
./test/cases/query_cache_test.rb:25:in `test_count_queries_with_cache'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/query_cache.rb:9:in `cache'
./test/cases/query_cache_test.rb:24:in `test_count_queries_with_cache'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
2 instead of 1 queries were executed.
Queries:
SELECT count(*) AS count_all FROM `tasks`
SELECT count(*) AS count_all FROM `tasks` .
<1> expected but was
<2>.
127) Failure:
test_schema_dump_includes_limit_constraint_for_integer_columns(SchemaDumperTest)
[./test/cases/schema_dumper_test.rb:118:in `test_schema_dump_includes_limit_constraint_for_integer_columns'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"# This file is auto-generated from the current state of the database. Instead of editing this file, \n# please use the migrations feature of Active Record to incrementally modify your database, and\n# then regenerate this schema definition.\n#\n# Note that this schema.rb definition is the authoritative source for your database schema. If you need\n# to create the application database on another system, you should be using db:schema:load, not running\n# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations\n# you'll amass, the slower it'll run and the greater likelihood for issues).\n#\n# It's strongly recommended to check this file into your version control system.\n\nActiveRecord::Schema.define(:version => 0) do\n\n create_table \"integer_limits\", :force => true do |t|\n t.integer \"c_int_without_limit\"\n t.integer \"c_int_1\", :limit => 1\n t.integer \"c_int_2\", :limit => 2\n t.integer \"c_int_3\", :limit => 3\n t.integer \"c_int_4\", :limit => 4\n t.integer \"c_int_5\", :limit => 5\n t.integer \"c_int_6\", :limit => 6\n t.integer \"c_int_7\", :limit => 7\n t.integer \"c_int_8\", :limit => 8\n end\n\nend\n"> expected to be =~
</c_int_5.*:limit => 8/>.
128) Error:
test_belongs_to_works_like_references(SexyMigrationsTest):
NoMethodError: undefined method `with' for nil:NilClass
./test/cases/migration_test.rb:1272:in `test_belongs_to_works_like_references'
./test/cases/migration_test.rb:1313:in `with_new_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:174:in `create_table'
./test/cases/migration_test.rb:1312:in `with_new_table'
./test/cases/migration_test.rb:1271:in `test_belongs_to_works_like_references'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
129) Error:
test_integer_creates_integer_column(SexyMigrationsTest):
NoMethodError: undefined method `with' for nil:NilClass
./test/cases/migration_test.rb:1287:in `test_integer_creates_integer_column'
./test/cases/migration_test.rb:1313:in `with_new_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:174:in `create_table'
./test/cases/migration_test.rb:1312:in `with_new_table'
./test/cases/migration_test.rb:1286:in `test_integer_creates_integer_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
130) Error:
test_references_column_type_adds_id(SexyMigrationsTest):
NoMethodError: undefined method `with' for nil:NilClass
./test/cases/migration_test.rb:1249:in `test_references_column_type_adds_id'
./test/cases/migration_test.rb:1313:in `with_new_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:174:in `create_table'
./test/cases/migration_test.rb:1312:in `with_new_table'
./test/cases/migration_test.rb:1248:in `test_references_column_type_adds_id'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
131) Error:
test_references_column_type_with_polymorphic_adds_type(SexyMigrationsTest):
NoMethodError: undefined method `with' for nil:NilClass
./test/cases/migration_test.rb:1256:in `test_references_column_type_with_polymorphic_adds_type'
./test/cases/migration_test.rb:1313:in `with_new_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:174:in `create_table'
./test/cases/migration_test.rb:1312:in `with_new_table'
./test/cases/migration_test.rb:1255:in `test_references_column_type_with_polymorphic_adds_type'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
132) Error:
test_references_column_type_with_polymorphic_and_options_null_is_false_adds_table_flag(SexyMigrationsTest):
NoMethodError: undefined method `with' for nil:NilClass
./test/cases/migration_test.rb:1264:in `test_references_column_type_with_polymorphic_and_options_null_is_false_adds_table_flag'
./test/cases/migration_test.rb:1313:in `with_new_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:174:in `create_table'
./test/cases/migration_test.rb:1312:in `with_new_table'
./test/cases/migration_test.rb:1263:in `test_references_column_type_with_polymorphic_and_options_null_is_false_adds_table_flag'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
133) Error:
test_string_creates_string_column(SexyMigrationsTest):
NoMethodError: undefined method `with' for nil:NilClass
./test/cases/migration_test.rb:1295:in `test_string_creates_string_column'
./test/cases/migration_test.rb:1313:in `with_new_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:174:in `create_table'
./test/cases/migration_test.rb:1312:in `with_new_table'
./test/cases/migration_test.rb:1294:in `test_string_creates_string_column'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
134) Error:
test_timestamps_creates_updated_at_and_created_at(SexyMigrationsTest):
NoMethodError: undefined method `kind_of' for #<SexyMigrationsTest:0x96ed42>
./test/cases/migration_test.rb:1279:in `test_timestamps_creates_updated_at_and_created_at'
./test/cases/migration_test.rb:1313:in `with_new_table'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'
/Users/stephen/dev/ruby/src/gems/activerecord-jdbc-adapter.git/lib/jdbc_adapter/jdbc_mysql.rb:174:in `create_table'
./test/cases/migration_test.rb:1312:in `with_new_table'
./test/cases/migration_test.rb:1278:in `test_timestamps_creates_updated_at_and_created_at'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
135) Failure:
test_should_rollback_destructions_if_an_exception_occurred_while_saving_birds(TestDestroyAsPartOfAutosaveAssociation)
[./test/cases/autosave_association_test.rb:579:in `test_should_rollback_destructions_if_an_exception_occurred_while_saving_birds'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Bird id: 27, name: "birds_0", pirate_id: 959118243>,
#<Bird id: 28, name: "birds_1", pirate_id: 959118243>]> expected but was
<[#<Bird id: 27, name: "birds_0", pirate_id: 959118243>, #<Bird id: 28, name: "birds_1", pirate_id: 959118243>]>.
136) Failure:
test_should_rollback_destructions_if_an_exception_occurred_while_saving_parrots(TestDestroyAsPartOfAutosaveAssociation)
[./test/cases/autosave_association_test.rb:579:in `test_should_rollback_destructions_if_an_exception_occurred_while_saving_parrots'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<[#<Parrot id: 1454724545, name: "parrots_0", parrot_sti_class: nil, killer_id: nil, created_at: "2009-10-13 01:42:27", created_on: "2009-10-13 01:42:27", updated_at: "2009-10-13 01:42:27", updated_on: "2009-10-13 01:42:27">,
#<Parrot id: 1454724546, name: "parrots_1", parrot_sti_class: nil, killer_id: nil, created_at: "2009-10-13 01:42:27", created_on: "2009-10-13 01:42:27", updated_at: "2009-10-13 01:42:27", updated_on: "2009-10-13 01:42:27">]> expected but was
<[#<Parrot id: 1454724545, name: "parrots_0", parrot_sti_class: nil, killer_id: nil, created_at: "2009-10-13 01:42:27", created_on: "2009-10-13 01:42:27", updated_at: "2009-10-13 01:42:27", updated_on: "2009-10-13 01:42:27">, #<Parrot id: 1454724546, name: "parrots_1", parrot_sti_class: nil, killer_id: nil, created_at: "2009-10-13 01:42:27", created_on: "2009-10-13 01:42:27", updated_at: "2009-10-13 01:42:27", updated_on: "2009-10-13 01:42:27">]>.
137) Error:
test_should_modify_an_existing_record_if_there_is_a_matching_composite_id(TestNestedAttributesOnABelongsToAssociation):
NoMethodError: undefined method `stubs' for #<Pirate:0xed3156>
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/attribute_methods.rb:260:in `method_missing'
./test/cases/nested_attributes_test.rb:252:in `test_should_modify_an_existing_record_if_there_is_a_matching_composite_id'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
138) Error:
test_should_take_a_hash_with_composite_id_keys_and_assign_the_attributes_to_the_associated_models(TestNestedAttributesOnAHasAndBelongsToManyAssociation):
NoMethodError: undefined method `stubs' for #<Parrot:0xaacac0>
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/attribute_methods.rb:260:in `method_missing'
./test/cases/nested_attributes_test.rb:338:in `test_should_take_a_hash_with_composite_id_keys_and_assign_the_attributes_to_the_associated_models'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
139) Error:
test_should_take_a_hash_with_composite_id_keys_and_assign_the_attributes_to_the_associated_models(TestNestedAttributesOnAHasManyAssociation):
NoMethodError: undefined method `stubs' for #<Bird id: 63, name: "Posideons Killer", pirate_id: 959118309>
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/attribute_methods.rb:260:in `method_missing'
./test/cases/nested_attributes_test.rb:338:in `test_should_take_a_hash_with_composite_id_keys_and_assign_the_attributes_to_the_associated_models'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
140) Error:
test_should_modify_an_existing_record_if_there_is_a_matching_composite_id(TestNestedAttributesOnAHasOneAssociation):
NoMethodError: undefined method `stubs' for #<Ship:0xb62764>
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/attribute_methods.rb:260:in `method_missing'
./test/cases/nested_attributes_test.rb:126:in `test_should_modify_an_existing_record_if_there_is_a_matching_composite_id'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
141) Failure:
test_underlying_adapter_no_longer_active(TestUnconnectedAdapter)
[./test/cases/unconnected_test.rb:30:in `test_underlying_adapter_no_longer_active'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
Removed adapter should no longer be active.
<false> is not true.
142) Error:
test_rollback_when_commit_raises(TransactionTest):
NoMethodError: undefined method `expects' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0xb54052>
./test/cases/transactions_test.rb:310:in `test_rollback_when_commit_raises'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
143) Failure:
test_optionally_validates_length_of_using_within_on_create_utf8(ValidationsTest)
[./test/cases/validations_test.rb:1084:in `test_optionally_validates_length_of_using_within_on_create_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:57:in `with_kcode'
./test/cases/validations_test.rb:1075:in `test_optionally_validates_length_of_using_within_on_create_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> is not true.
144) Failure:
test_optionally_validates_length_of_using_within_on_update_utf8(ValidationsTest)
[./test/cases/validations_test.rb:1102:in `test_optionally_validates_length_of_using_within_on_update_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:57:in `with_kcode'
./test/cases/validations_test.rb:1098:in `test_optionally_validates_length_of_using_within_on_update_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> is not true.
145) Failure:
test_optionally_validates_length_of_using_within_utf8(ValidationsTest)
[./test/cases/validations_test.rb:1064:in `test_optionally_validates_length_of_using_within_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:57:in `with_kcode'
./test/cases/validations_test.rb:1060:in `test_optionally_validates_length_of_using_within_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
#<ActiveRecord::Errors:0x916984 @errors={"title"=>[#<ActiveRecord::Error:0x799cca @message=:too_long, @options={:count=>5}, @attribute=:title, @type=:too_long, @base=#<Topic id: nil, title: "一二三四五", author_name: nil, author_email_address: "test@test.com", written_on: nil, bonus_time: nil, last_read: nil, content: nil, approved: true, replies_count: 0, parent_id: nil, parent_title: nil, type: nil>>]}, @base=#<Topic id: nil, title: "一二三四五", author_name: nil, author_email_address: "test@test.com", written_on: nil, bonus_time: nil, last_read: nil, content: nil, approved: true, replies_count: 0, parent_id: nil, parent_title: nil, type: nil>>.
<false> is not true.
146) Failure:
test_validate_case_sensitive_uniqueness(ValidationsTest)
[./test/cases/validations_test.rb:485:in `test_validate_case_sensitive_uniqueness'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
Should be valid.
<false> is not true.
147) Failure:
test_validates_length_of_using_is_utf8(ValidationsTest)
[./test/cases/validations_test.rb:1124:in `test_validates_length_of_using_is_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:57:in `with_kcode'
./test/cases/validations_test.rb:1120:in `test_validates_length_of_using_is_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> is not true.
148) Failure:
test_validates_length_of_using_maximum_utf8(ValidationsTest)
[./test/cases/validations_test.rb:1036:in `test_validates_length_of_using_maximum_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:57:in `with_kcode'
./test/cases/validations_test.rb:1032:in `test_validates_length_of_using_maximum_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> is not true.
149) Failure:
test_validates_length_of_using_minimum_utf8(ValidationsTest)
[./test/cases/validations_test.rb:1025:in `test_validates_length_of_using_minimum_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:57:in `with_kcode'
./test/cases/validations_test.rb:1018:in `test_validates_length_of_using_minimum_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> is not true.
150) Failure:
test_validates_length_of_using_within_utf8(ValidationsTest)
[./test/cases/validations_test.rb:1051:in `test_validates_length_of_using_within_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../lib/active_record/test_case.rb:57:in `with_kcode'
./test/cases/validations_test.rb:1046:in `test_validates_length_of_using_within_utf8'
/Users/stephen/dev/ruby/src/gems/rails-git/activerecord/test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"is too short (minimum is 3 characters)"> expected but was
<"is too long (maximum is 5 characters)">.
2070 tests, 6508 assertions, 64 failurerake aborted!
Command failed with status (1): [/Users/stephen/dev/test/jruby-git/bin/jrub...]
(See full trace by running task with --trace)
s, 86 errors
rake aborted!
Command failed with status (1): [/Users/stephen/dev/test/jruby-git/bin/jrub...]
(See full trace by running task with --trace)
[activerecord-jdbc-adapter.git (master)]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment