summaryrefslogtreecommitdiff
path: root/spec/ruby/core/thread/allocate_spec.rb
blob: 1db05878ba0075ec5ba67292c80faf7ed548df4a (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../spec_helper', __FILE__)

describe "Thread.allocate" do
  it "raises a TypeError" do
    lambda {
      Thread.allocate
    }.should raise_error(TypeError)
  end
end