blob: e33a5d3a58009e535b6fb745a0b874e80fe285c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require_relative '../../spec_helper'
describe "ScriptError" do
it "is a superclass of LoadError" do
ScriptError.should be_ancestor_of(LoadError)
end
it "is a superclass of NotImplementedError" do
ScriptError.should be_ancestor_of(NotImplementedError)
end
it "is a superclass of SyntaxError" do
ScriptError.should be_ancestor_of(SyntaxError)
end
end
|