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 5f0db22 commit 7f4b478Copy full SHA for 7f4b478
spec/concurrent/synchronization_spec.rb
@@ -41,7 +41,7 @@ def ns_initialize
41
42
describe '#wait' do
43
44
- it 'waiting thread is sleeping' do
+ it 'puts the current thread to sleep' do
45
t = Thread.new do
46
Thread.abort_on_exception = true
47
subject.wait
@@ -50,7 +50,7 @@ def ns_initialize
50
expect(t.status).to eq 'sleep'
51
end
52
53
- it 'sleeping thread can be killed' do
+ it 'allows the sleeping thread to be killed' do
54
55
56
subject.wait rescue nil
0 commit comments