Sha256: f627fccae0b7239d464109fe01fa869a1320b95b80e5fde1786cb7954b4dfdf5
Contents?: true
Size: 246 Bytes
Versions: 14
Compression:
Stored size: 246 Bytes
Contents
require 'spec_helper' class ExceptionSubclassTest < Exception def custom_method 42 end end describe "Exception" do it "subclasses can have methods defined on them" do ExceptionSubclassTest.new.custom_method.should == 42 end end
Version data entries
14 entries across 14 versions & 2 rubygems