Sha256: be7e559c972bd74ac7a8cec26875929b0c2f49e9f9f4efb00306f618c6e0e2a9
Contents?: true
Size: 624 Bytes
Versions: 3
Compression:
Stored size: 624 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 end
Version data entries
3 entries across 3 versions & 1 rubygems