Skip to content

Commit 7f4b478

Browse files
committed
Grammar tweaks in Synchronized specs
1 parent 5f0db22 commit 7f4b478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/concurrent/synchronization_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def ns_initialize
4141

4242
describe '#wait' do
4343

44-
it 'waiting thread is sleeping' do
44+
it 'puts the current thread to sleep' do
4545
t = Thread.new do
4646
Thread.abort_on_exception = true
4747
subject.wait
@@ -50,7 +50,7 @@ def ns_initialize
5050
expect(t.status).to eq 'sleep'
5151
end
5252

53-
it 'sleeping thread can be killed' do
53+
it 'allows the sleeping thread to be killed' do
5454
t = Thread.new do
5555
Thread.abort_on_exception = true
5656
subject.wait rescue nil

0 commit comments

Comments
 (0)