blob: 9267df6670da309ea64d06bc81474eb29444dc56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require_relative '../../spec_helper'
describe "UncaughtThrowError#tag" do
it "returns the object thrown" do
begin
throw :abc
rescue UncaughtThrowError => e
e.tag.should == :abc
end
end
end
|