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
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
-
Santiago Pastorino May 16th, 2010 @ 03:40 AM
- 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
-
Rizwan Reza May 16th, 2010 @ 03:43 AM
- Tag changed from bugmash, bugmash-review, railties, ruby1.9.2 to bugmash-review, railties, ruby1.9.2
- State changed from open to verified
-
Repository May 16th, 2010 @ 09:53 AM
(from [afe57dda26b8ca8484a90801a0fd378dad60e180]) Fixed two failing tests in railties on 1.9.2-head [#4609 state:commited]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/afe57dda26b8ca8484a90801a0fd37... -
Santiago Pastorino May 16th, 2010 @ 02:42 PM
- Tag changed from bugmash-review, railties, ruby1.9.2 to railties, ruby1.9.2
-
Rizwan Reza May 16th, 2010 @ 05:21 PM
- State changed from verified to resolved
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
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>
People watching this ticket
Attachments
Referenced by
- 4609 Two errors in the railties test suite in rails master on ruby 1.9.2-head (from [afe57dda26b8ca8484a90801a0fd378dad60e180]) Fixed t...