fixed absent initiation of refill task

This commit is contained in:
Hauke Klement
2015-03-14 14:34:38 +01:00
parent 2f17d414da
commit c260d4f2ea
3 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ describe DockerContainerPool do
after(:each) { described_class.start_refill_task }
it 'creates an asynchronous task' do
expect(Concurrent::TimerTask).to receive(:new).with(execution_interval: interval, run_now: true, timeout_interval: timeout).and_call_original
expect(Concurrent::TimerTask).to receive(:new).with(execution_interval: interval, run_now: false, timeout_interval: timeout).and_call_original
end
it 'executes the task' do