clean pull request

This commit is contained in:
yqbk
2016-10-24 23:02:44 +02:00
parent 595a2a009b
commit c937a1a9ef
9 changed files with 13 additions and 32 deletions

View File

@ -44,8 +44,6 @@ describe DockerContainerPool do
it 'takes a container from the pool' do
expect(described_class).not_to receive(:create_container).with(@execution_environment)
# #<Double (anonymous)> received unexpected message :json with (no args)
# expect(described_class).to receive(:json).with()
expect(described_class.get_container(@execution_environment)).to eq(container)
end
end
@ -62,7 +60,6 @@ describe DockerContainerPool do
end
end
context 'when inactive' do
before(:each) do
expect(described_class).to receive(:config).and_return(active: false)