Skip to content

Commit fc5637e

Browse files
committed
Minor test updates to Runnable shared specs.
1 parent b249301 commit fc5637e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/concurrent/runnable_shared.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,13 @@
5555
subject.should be_running
5656
end
5757

58+
it 'returns false when first created' do
59+
subject.should_not be_running
60+
end
61+
5862
it 'returns false when not running' do
63+
subject.stop
64+
sleep(0.1)
5965
subject.should_not be_running
6066
end
6167
end

0 commit comments

Comments
 (0)