spec/symbolmatrix/symbolmatrix_spec.rb in symbolmatrix-1.1.3 vs spec/symbolmatrix/symbolmatrix_spec.rb in symbolmatrix-1.2.0
- old
+ new
@@ -263,5 +263,12 @@
argument = stub 'argument'
SymbolMatrix.should_receive(:new).with argument
SymbolMatrix argument
end
end
+
+describe SymbolMatrix::KeyNotDefinedException do
+ it 'should be a subclass of NoMethodError' do
+ SymbolMatrix::KeyNotDefinedException
+ .superclass.should == NoMethodError
+ end
+end
\ No newline at end of file