Running the railties test suite in Rails master on ruby 1.9.2dev
(2010-05-08 trunk 27665) [x86_64-linux] gives 2 errors.
The backtrace is as follows (or pastie => http://pastie.org/962169 ):
Test run options: --seed 1109
Loaded suite test/application/initializers/hooks_test
Started
[[:puke, [ApplicationTests::InitializersTest,
"test_after_initialize_happens_after_to_prepare_in_development",
#<ArgumentError: assertion message must be String or Proc, but
Array was given.>]]][[:puke,
[ApplicationTests::InitializersTest,
"test_after_initialize_happens_after_to_prepare_in_production",
#<ArgumentError: assertion message must be String or Proc, but
Array was given.>]]].... Finished in 14.154275 seconds.
1) Error:
test_after_initialize_happens_after_to_prepare_in_development(ApplicationTests::InitializersTest):
ArgumentError: assertion message must be String or Proc, but Array
was given.
test/application/initializers/hooks_test.rb:69:in `block in <class:InitializersTest>'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:83:in `block in run'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:99:in `block in run_in_isolation'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:96:in `fork'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:96:in `run_in_isolation'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:82:in `run'
2) Error:
test_after_initialize_happens_after_to_prepare_in_production(ApplicationTests::InitializersTest):
ArgumentError: assertion message must be String or Proc, but Array
was given.
test/application/initializers/hooks_test.rb:83:in `block in <class:InitializersTest>'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:83:in `block in run'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:99:in `block in run_in_isolation'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:96:in `fork'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:96:in `run_in_isolation'
/home/rohit/remote-repos/rails/activesupport/lib/active_support/testing/isolation.rb:82:in `run'
6 tests, 0 assertions, 0 failures, 2 errors, 0 skips