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:
parent
b9d80ca159
commit
3d68174922
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue