This project is archived and is in readonly mode.

#4609 ✓resolved
Rohit Arondekar

Two errors in the railties test suite in rails master on ruby 1.9.2-head

Reported by Rohit Arondekar | May 16th, 2010 @ 02:59 AM | in 3.0.2

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

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages