We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5569f63 commit 960af94Copy full SHA for 960af94
spec/concurrent/executor/timer_set_spec.rb
@@ -35,6 +35,10 @@ module Concurrent
35
expect(latch.wait(0.2)).to be_truthy
36
end
37
38
+ it 'returns true when posting a task' do
39
+ expect(subject.post(0.1) { nil }).to be true
40
+ end
41
+
42
it 'executes a given task when given an interval in seconds, even if longer tasks have been scheduled' do
43
latch = CountDownLatch.new(1)
44
subject.post(0.5){ nil }
0 commit comments