Skip to content

Commit

Permalink
Add test for modified limit_zone
Browse files Browse the repository at this point in the history
  • Loading branch information
Eirik Øverby authored and kenyon committed Nov 1, 2023
1 parent a35b6ae commit 0e68508
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/defines/resource_location_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@
value: 'myzone1',
match: ' limit_req zone=myzone1;'
},
{
title: 'should set multiple limit_zone',
attr: 'limit_zone',
value: ['myzone1','myzone2'],
match: [
' limit_req zone=myzone1;',
' limit_req zone=myzone1;'
]
},
{
title: 'should set expires',
attr: 'expires',
Expand Down

0 comments on commit 0e68508

Please sign in to comment.