Jack Senechal wrote: > I recently upgraded to Rails 2.3.8 from 2.1.0 (not sure if that has > anything to do with it though), and my integration tests are no longer > able to do anything requiring the user to be logged in. [...]
> I have upgraded restful_authentication > plugin, I have gone through the whole process with the debugger, I have > tried everything I can think of to find the problem, but I'm totally > stumped. What could be causing this? I'm not absolutely sure, but IMHO you should give some serious thought to removing both restful_authentication and integration tests. restful_authentication is (as you've discovered) hard to test, due in part to relying on unmaintainable generated code thrown right into your User model. I recommend replacing it with Authlogic, which is better designed, more modular, and easier to test. Likewise, Cucumber can (and should) take the place of integration tests; you'll have fewer headaches. > > Thanks! > Jack Best, -- Marnen Laibow-koser http://www.marnen.org mar...@marnen.org -- Posted via http://www.ruby-forum.com/. -- 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-t...@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.