Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.9.0
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.325 kb
require 'test/spec'
require 'rack/mock'
require 'rack/contrib/garbagecollector'
context 'Rack::GarbageCollector' do
specify 'starts the garbage collector after each request' do
app = lambda { |env|
[200, {'Content-Type'=>'text/plain'}, ['Hello World']] }
Rack::GarbageCollector.new(app).call({})
end
end
Jump to Line
Something went wrong with that request. Please try again.