correct regex

This commit is contained in:
Diego Lendoiro 2018-08-08 11:36:54 +02:00
parent 714b96939a
commit 4ed53e5f43
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ describe 'Dockerfile' do
end
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