From 4c010d1c65b74fa4430ef0826cc8e2a4a8089078 Mon Sep 17 00:00:00 2001 From: Simon Rozet Date: Fri, 5 Jun 2009 18:09:31 +0200 Subject: [PATCH] Use Rack::Lint to test the rack session --- spec/integration/rack/test/test_helper.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/integration/rack/test/test_helper.rb b/spec/integration/rack/test/test_helper.rb index d7532de..bfa85b9 100644 --- a/spec/integration/rack/test/test_helper.rb +++ b/spec/integration/rack/test/test_helper.rb @@ -15,6 +15,9 @@ class Test::Unit::TestCase include Webrat::Matchers def app - RackApp.new + Rack::Builder.new { + use Rack::Lint + run RackApp.new + } end end