1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

disable protection for one routing test

This commit is contained in:
Konstantin Haase 2011-10-03 14:03:24 -07:00
parent b9d80ca159
commit 3d68174922

View file

@ -114,6 +114,8 @@ class RoutingTest < Test::Unit::TestCase
it 'matches empty PATH_INFO to "" if a route is defined for ""' do
mock_app do
disable :protection
get '/' do
'did not work'
end