Rick DeNatale
2008-Feb-19 14:44 UTC
Testing Rails Integration Testing Infrastructure (was Re: Need help fixing test for integration testing patch, did route optimization break with_routes perhaps?)
Here''s the latest version http://pastie.caboo.se/154256 I''ve changed things around a bit, so that it now saves the data to be tested in the action method of the controller. Still works when run directly with ruby, and it still fails when run with rake. Running under rake, the action method in the controller doesn''t seem to be invoked. Still trying to figure out why. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Rick DeNatale
2008-Feb-19 16:44 UTC
Re: Testing Rails Integration Testing Infrastructure (was Re: Need help fixing test for integration testing patch, did route optimization break with_routes perhaps?)
Solved! The issue was being caused by changes to ApplicationController::Integration::Session monkey patched in the existing rails test actionpack/test/controller/integration_test.rb I''ve updated my original ticket http://dev.rubyonrails.org/ticket/11091 with the fixed testcase code. And opened another ticket http://dev.rubyonrails.org/ticket/11163 With just the patch to integration_test.rb which I believe should be fixed regardless of whether the file upload patch is accepted. On Feb 19, 2008 9:44 AM, Rick DeNatale <rick.denatale@gmail.com> wrote:> Here''s the latest version > http://pastie.caboo.se/154256 > > I''ve changed things around a bit, so that it now saves the data to be > tested in the action method of the controller. > > Still works when run directly with ruby, and it still fails when run with rake. > > Running under rake, the action method in the controller doesn''t seem > to be invoked. Still trying to figure out why. > > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ >-- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---