Tests in py_unit_adapter_spec and junit_adapter_spec repaired

This commit is contained in:
yqbk
2016-05-24 16:28:09 +02:00
parent 4df7bc825b
commit 03053bb923
3 changed files with 6 additions and 4 deletions

View File

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