Sha256: 6208319e4be5b2f2d24caaa4523beec78e3d8321cdd1f7ce3ba4888e9d12258b
Contents?: true
Size: 781 Bytes
Versions: 1
Compression:
Stored size: 781 Bytes
Contents
shared_examples_for 'a stemcell' do context 'installed by bosh_sudoers' do describe file('/etc/sudoers') do it { should be_file } it { should contain '#includedir /etc/sudoers.d' } end end # currently `should cotain` on a file does not properly escape $PATH context 'installed by bosh_users' do describe command("grep -q 'export PATH=/var/vcap/bosh/bin:\\$PATH\n' /root/.bashrc") do it { should return_exit_status(0) } end describe command("grep -q 'export PATH=/var/vcap/bosh/bin:\\$PATH\n' /home/vcap/.bashrc") do it { should return_exit_status(0) } end end context 'installed by base_<os>' do # required by go_agent describe command('dig -v') do it { should return_exit_status(0) } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bosh-stemcell-1.5.0.pre.1226 | spec/support/stemcell_shared_examples.rb |