I'd argue that since this is essentially just a Ruby 1.9 compatibility thing, that it shouldn't really need testing. Especially if you adopt the approach used earlier in the same file.
--Matt Jones On Mar 4, 7:25 pm, Jeff Schwab <j...@schwabcenter.com> wrote: > What's the right way to test this fix? I don't see any tests for class > RailsEnvironment. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---