JDeville
2011-Apr-14 05:51 UTC
[rspec-users] Rails 3 route path helpers no longer accessible from /specs/requests/
I just did a bundle update, and my integration specs stopped working. I was on Rails 3.0.5, and am now on 3.0.6. Any suggestions on how to get access to those routes back? In case the subject wasn''t clear, this is what is no longer working: get sessions_path sessions_path (and every other path gen''d from my routes), have become undefined. I''ve read through the rspec-rails gem a bit, and have confirmed that my request specs are still including the RSpec::Rails::RequestExampleGroup module, which is about all I can think to check. Any suggestions? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110413/427b50ff/attachment.html>
Rodrigo Rosenfeld Rosas
2011-Apr-16 00:35 UTC
[rspec-users] Rails 3 route path helpers no longer accessible from /specs/requests/
Em 14-04-2011 02:51, JDeville escreveu:> I just did a bundle update, and my integration specs stopped working. > I was on Rails 3.0.5, and am now on 3.0.6. Any suggestions on how to > get access to those routes back? In case the subject wasn''t clear, > this is what is no longer working: > > get sessions_path > > sessions_path (and every other path gen''d from my routes), have become > undefined. I''ve read through the rspec-rails gem a bit, and have > confirmed that my request specs are still including the > RSpec::Rails::RequestExampleGroup module, which is about all I can > think to check. > > Any suggestions? > >You can try to upgrade just Rails first: >> bundle update rails That way, you can isolate your problem... HTH, Rodrigo. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110415/469cc4fa/attachment.html>