correct regex
This commit is contained in:
parent
714b96939a
commit
4ed53e5f43
|
|
@ -78,7 +78,7 @@ describe 'Dockerfile' do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'does not expose php version' do
|
it 'does not expose php version' do
|
||||||
expect(file(php_conf).content).to match '^php_flag\[expose_php\]\s+=\s+off$'
|
expect(file(php_conf).content).to match(/^php_flag\[expose_php\]\s+=\s+off$/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue