summaryrefslogtreecommitdiff
path: root/spec/ruby/core/threadgroup/default_spec.rb
blob: d7d4726cc2b4200aa8042a6e3570d0469ef4e560 (plain)
1
2
3
4
5
6
7
8
9
10
11
require_relative '../../spec_helper'

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