Changeset [f2b3b9891b9a0605fa2d6197f9a960f9c7dbd361] by Simon Rozet
June 24th, 2009 @ 06:07 PM
Refactor Webrat::Session
-
Webrat::Session.new now take a session adapter class as it's argument and delegates methods such as #response_body and #response_code to an instance of it.
-
Some of these methods will go away in the future. However, a lot of specs depends on them so I've left them for now. The plan is to strip down the session adapter API to these three methods:
- request
- response_code
- response_body
-
I had to mark a spec as pending: spec/private/rails/rails_session_spec.rb http://github.com/brynary/webrat...
Committed by Simon Rozet
- M lib/webrat/core/methods.rb
- M lib/webrat/core/session.rb
- M lib/webrat/merb_session.rb
- M lib/webrat/rack.rb
- M lib/webrat/rails.rb
- M lib/webrat/sinatra.rb
- M spec/private/rails/rails_session_spec.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.