Sha256: 60d69312a21c2014effd9159f38d8eec48d7478ac28dab28250e7b902f5a794e
Contents?: true
Size: 1003 Bytes
Versions: 2
Compression:
Stored size: 1003 Bytes
Contents
########### # reference ########### # https://docs.docker.com/engine/reference/commandline/volume_create/ ########### # remove_me ########### describe command('docker volume ls -q') do its(:exit_status) { should eq 0 } its(:stdout) { should_not match(/^remove_me$/) } end ####### # hello ####### describe command('docker volume ls -q') do its(:exit_status) { should eq 0 } its(:stdout) { should match(/^hello$/) } its(:stdout) { should match(/^hello_again$/) } end ################## # hello containers ################## describe command("docker ps -qaf 'name=file_writer$'") do its(:exit_status) { should eq 0 } its(:stdout) { should_not be_empty } end describe command("docker ps -qaf 'name=file_reader$'") do its(:exit_status) { should eq 0 } its(:stdout) { should_not be_empty } end describe command('docker logs file_reader') do its(:exit_status) { should eq 0 } its(:stdout) { should match(%r{/hello/sean_was_here}) } end
Version data entries
2 entries across 2 versions & 1 rubygems