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.

Tests for Rails::InfoController and Rails::Info

#2411

Attached is a patch that adds some tests which were accidentally forgotten in the middleware info commit. In the process I also refactored the InfoController tests a little bit.

Reported by Manfred Stienstra · April 3rd, 2009 @ 06:32 PM

State: resolved
Milestone: 2.x
Assigned to: josh josh
Importance: none

Activity

  1. Manfred Stienstra
  2. josh
    josh
    • State changed from new to open

    April 7th, 2009 @ 03:14 PM

  3. Repository
    Repository
    • State changed from open to resolved

    (from [f209d3898fbd866e1405861319b85c97674a0508]) Improve tests and code for Rails::InfoController and Rails::Info [#2411 Tests for Rails::InfoController and Rails::Info state:resolved]

    • Refactor Rails::InfoController tests.
    • Return forbidden status from the InfoController for remote requests instead of a 500.
    • Add tests for displaying middleware in Rails::Info.

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    April 7th, 2009 @ 03:19 PM