On Fri, Dec 28, 2012 at 1:38 PM, Dan Melnick <[email protected]> wrote:
>> Is this code you're able to share in a gist or elsewhere? I'm curious to
> see how you're using Rack::MockRequest on a per-worker basis.
It looks like this, more or less:
app = ActionController::Dispatcher.new
map = Rack::URLMap.new('/' => app)
Rack::MockRequest.new(map).get(url)
--
Tony Arcieri
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying