Skip to content

Commit ad8c66a

Browse files
author
Matthew Haughton
committed
fix specs to cater for PR voxpupuli#162
1 parent 59cf914 commit ad8c66a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/defines/nginx__resource__vhost_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
}}
1212

1313
it 'applies location_allow rules' do
14-
should contain_file('/nginx.d/test-500-test-default').with({
14+
should contain_file('/nginx.d/test-500-_').with({
1515
'content' => /allow 10.0.0.1\n allow host1/
1616
})
1717
end
1818
it 'applies location_deny rules' do
19-
should contain_file('/nginx.d/test-500-test-default').with({
19+
should contain_file('/nginx.d/test-500-_').with({
2020
'content' => /deny host2\n deny 10.0.0.2/
2121
})
2222
end

0 commit comments

Comments
 (0)