blob: d72b86ed3920d0c001d2f0fe824f1d46913317f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|