reverse some changes
This commit is contained in:
@ -44,6 +44,8 @@ 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
|
||||
@ -60,6 +62,7 @@ describe DockerContainerPool do
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
context 'when inactive' do
|
||||
before(:each) do
|
||||
expect(described_class).to receive(:config).and_return(active: false)
|
||||
|
Reference in New Issue
Block a user