Closed C404 closed 9 years ago
Did you add middleware in test env?
Hi, do you mean config.middleware.use RackSessionAccess::Middleware ?
Yes. You should explitly to inject this middleware into desired environment (test, cucumber). See readme doc.
I get that error : No routes matches [GET]
@C404 what about to change nick first? :-)
Haha yeah ;) Otherwise you were right ... I think i jumped to fast on the Rspec part forgetting that line in the test env. Thx !
Hi,
I just installed your gem with capybara and required "rack_session_access/capybara" in my spec_helper.rb
Yet when i run the test with the following code :
I get that error : No routes matches [GET] "/rack_session/edit"
Any idea why ?
Thx !