Sha256: 1963f5a8c38d378436a0d18ecb072ea70f282abefacf340d6a3c06d63c7a6ced
Contents?: true
Size: 1.03 KB
Versions: 83
Compression:
Stored size: 1.03 KB
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/shared/new' describe "Exception.exception" do it_behaves_like(:exception_new, :exception) end describe "Exception" do it "is a Class" do Exception.should be_kind_of(Class) end it "is a superclass of NoMemoryError" do Exception.should be_ancestor_of(NoMemoryError) end it "is a superclass of ScriptError" do Exception.should be_ancestor_of(ScriptError) end it "is a superclass of SignalException" do Exception.should be_ancestor_of(SignalException) end it "is a superclass of Interrupt" do SignalException.should be_ancestor_of(Interrupt) end it "is a superclass of StandardError" do Exception.should be_ancestor_of(StandardError) end it "is a superclass of SystemExit" do Exception.should be_ancestor_of(SystemExit) end it "is a superclass of SystemStackError" do Exception.should be_ancestor_of(SystemStackError) end end
Version data entries
83 entries across 83 versions & 1 rubygems