1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/threadgroup/default_spec.rb

12 lines
305 B
Ruby
Raw Normal View History

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