Sha256: 949d1393bb6bea3327268fe0e777a44193ed70af6863a5e3ffb87b67b3f60dd6

Contents?: true

Size: 154 Bytes

Versions: 6

Compression:

Stored size: 154 Bytes

Contents

require 'thread/delay'

describe Thread::Delay do
	it 'delivers a value properly' do
		d = Thread.delay {
			42
		}

		expect(d.value).to eq(42)
	end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
thread-0.2.2 spec/thread/delay_spec.rb
thread-0.2.1 spec/thread/delay_spec.rb
seekingalpha_thread-1.0.1 spec/thread/delay_spec.rb
thread-0.2.0 spec/thread/delay_spec.rb
thread-0.1.7 spec/thread/delay_spec.rb
thread-0.1.6 spec/thread/delay_spec.rb