spec/unit/docker_client_spec.rb in vocker-0.1.0 vs spec/unit/docker_client_spec.rb in vocker-0.2.0

- old
+ new

@@ -30,10 +30,10 @@ context 'running containers' do let(:containers) { {'mysql' => {image: 'mysql'}} } it 'ensures container ids folder exists' do subject.run containers - expect(communicator).to have_received.sudo(with{|cmd| cmd == 'mkdir -p /var/lib/vocker/cids'}) + expect(communicator).to have_received.sudo('mkdir -p /var/lib/vocker/cids') end it 'automatically assigns a digest of the command as the cidfile if not specified' do stub(communicator).test(with{|cmd| cmd =~ /docker ps/}) { false } stub(Digest::SHA1).hexdigest('mysql') { 'digest' }