mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
12 lines
305 B
Ruby
12 lines
305 B
Ruby
![]() |
require File.expand_path('../../../spec_helper', __FILE__)
|
||
|
|
||
|
describe "ThreadGroup::Default" do
|
||
|
it "is a ThreadGroup instance" do
|
||
|
ThreadGroup::Default.should be_kind_of(ThreadGroup)
|
||
|
end
|
||
|
|
||
|
it "is the ThreadGroup of the main thread" do
|
||
|
ThreadGroup::Default.should == Thread.main.group
|
||
|
end
|
||
|
end
|