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.

[PATCH] test_help.rb passes String to exit

#3748

While fiddling around with getting Cucumber working with Rails edge I noticed that line 3 of railties/lib/rails/test_help.rb is passing a string to exit. This is causing a "can't convert String into Integer (TypeError)" exception whenever the environment is not set to test (such as with cucumber).

Reported by isomorphix · January 19th, 2010 @ 03:55 PM

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

Activity

  1. Joao Carlos
    Joao Carlos
    • Tag set to patch
    • Title changed from test_help.rb passes String to exit to test_help.rb passes String to exit

    February 24th, 2010 @ 06:46 PM

  2. Joao Carlos
    Joao Carlos
    • Title changed from test_help.rb passes String to exit to [PATCH] test_help.rb passes String to exit

    February 26th, 2010 @ 10:16 PM

  3. José Valim
    José Valim
    • Assigned user set to José Valim
    • State changed from new to committed
    • Milestone cleared.

    Applied.

    February 28th, 2010 @ 11:31 AM

  4. Joao Carlos
    Joao Carlos

    Using #abort, as suggested by Joshua Peek.

    February 28th, 2010 @ 03:09 PM

  5. José Valim
    José Valim
    • State changed from committed to open

    February 28th, 2010 @ 10:08 PM

  6. José Valim
    José Valim
    • State changed from open to committed

    March 3rd, 2010 @ 09:14 AM

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

    October 15th, 2010 @ 11:01 PM