Use Rack::Lint to test the rack session
This commit is contained in:
parent
8cda77318c
commit
4c010d1c65
@ -15,6 +15,9 @@ class Test::Unit::TestCase
|
|||||||
include Webrat::Matchers
|
include Webrat::Matchers
|
||||||
|
|
||||||
def app
|
def app
|
||||||
RackApp.new
|
Rack::Builder.new {
|
||||||
|
use Rack::Lint
|
||||||
|
run RackApp.new
|
||||||
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user