Sha256: 0a30e285cda0c9f74df864b481d74fcca66a0df7c6e85394cd7a78d74d24028c
Contents?: true
Size: 378 Bytes
Versions: 83
Compression:
Stored size: 378 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "Exception#inspect" do it "returns '#<Exception: Exception>' when no message given" do Exception.new.inspect.should == "#<Exception: Exception>" end it "includes message when given" do [Exception.new("foobar").inspect].should == ["#<Exception: foobar>"] end end
Version data entries
83 entries across 83 versions & 1 rubygems