summaryrefslogtreecommitdiff
path: root/spec/ruby/core/kernel/raise_spec.rb
blob: 6efffd93663a20305ac3f3ca1885711cf862d745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
require File.expand_path('../../../shared/kernel/raise', __FILE__)

describe "Kernel#raise" do
  it "is a private method" do
    Kernel.should have_private_instance_method(:raise)
  end
end

describe "Kernel#raise" do
  it_behaves_like :kernel_raise, :raise, Kernel
end

describe "Kernel.raise" do
  it "needs to be reviewed for spec completeness"
end