Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#4609

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

Reported by Rohit Arondekar · May 16th, 2010 @ 02:59 AM

State: resolved
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Rohit Arondekar
  2. Santiago Pastorino
    Santiago Pastorino
    • Milestone cleared.
    • Tag changed from bugmash, railties, ruby1.9.2 to bugmash, bugmash-review, railties, ruby1.9.2
    • State changed from new to open
    • Assigned user changed from Santiago Pastorino to José Valim

    Well done Rohit +1

    May 16th, 2010 @ 03:40 AM

  3. Rizwan Reza
    Rizwan Reza
    • Tag changed from bugmash, bugmash-review, railties, ruby1.9.2 to bugmash-review, railties, ruby1.9.2
    • State changed from open to verified

    May 16th, 2010 @ 03:43 AM

  4. Repository
  5. Santiago Pastorino
    Santiago Pastorino
    • Tag changed from bugmash-review, railties, ruby1.9.2 to railties, ruby1.9.2

    May 16th, 2010 @ 02:42 PM

  6. Rizwan Reza
    Rizwan Reza
    • State changed from verified to resolved

    May 16th, 2010 @ 05:21 PM

  7. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM