check wait-for is on the image
This commit is contained in:
parent
62a681d657
commit
69cfe6cdfd
|
|
@ -34,6 +34,7 @@ describe 'Dockerfile' do
|
|||
'curl', 'gd', 'intl', 'json', 'mcrypt', 'mysqlnd', 'xsl', 'phar',
|
||||
'posix', 'xml', 'zlib', 'ctype', 'pdo', 'gnupg', 'pdo_mysql'
|
||||
] }
|
||||
let(:wait_for) { '/usr/bin/wait-for.sh' }
|
||||
|
||||
describe 'passbolt required php extensions' do
|
||||
it 'has php extensions installed' do
|
||||
|
|
@ -61,6 +62,12 @@ describe 'Dockerfile' do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'wait-for' do
|
||||
it 'is installed' do
|
||||
expect(file(wait_for)).to exist and be_executable
|
||||
end
|
||||
end
|
||||
|
||||
describe 'passbolt directory structure' do
|
||||
it 'must exist and be directories' do
|
||||
expect(file(passbolt_home)).to be_a_directory
|
||||
|
|
|
|||
Loading…
Reference in New Issue