We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59cf914 commit ad8c66aCopy full SHA for ad8c66a
spec/defines/nginx__resource__vhost_spec.rb
@@ -11,12 +11,12 @@
11
}}
12
13
it 'applies location_allow rules' do
14
- should contain_file('/nginx.d/test-500-test-default').with({
+ should contain_file('/nginx.d/test-500-_').with({
15
'content' => /allow 10.0.0.1\n allow host1/
16
})
17
end
18
it 'applies location_deny rules' do
19
20
'content' => /deny host2\n deny 10.0.0.2/
21
22
0 commit comments