
Refactor all FooSession to use of RackSession
Reported by Simon Rozet | February 23rd, 2009 @ 09:03 PM
I already pinged you about this on IRC but I though I'd open a ticket to track discussion.
So I started to play with the idea on my fork: http://github.com/sr/webrat/tree/rack
Notes:
- I used the same trick as in my Sinatra subclass patch to specify the app. This should probably be changed. Ultimately, I'd like to be able to use webrat like this: http://gist.github.com/69331
- I already modified
SinatraSession
to make use ofRackSession
- Due to how Merb expects to receive request,
MerbSession
don't. See http://github.com/wycats/merb/blob/a836c3eb7a785a6412161c99239ebbaf33685bb3/merb-core/lib/merb-core/test/helpers/request_helper.rb#L7 - I didn't look into Rails yet
- Private specs for Merb and Sinatra fails but they're setting expectation on mocks and are, IMO, irrelevant.
Comments and changes to this ticket
-
gaffo May 7th, 2009 @ 03:29 PM
- Tag set to featurerequest, rack, sinatra, stale, test
- State changed from new to open
Simon, In light of some of the stuff with using Rack::Test is this still a valid ticket? I'm just going through and triaging the old tickets. Please let us know as it's been a while. Sorry about taking so long to get to this.
-
gaffo June 3rd, 2009 @ 10:36 AM
- State changed from open to out-of-date
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
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.