Sha256: b763009a0f57e543c966bacdc66f9ef25eab499dd7afb64d20baf0b49d9f0631
Contents?: true
Size: 390 Bytes
Versions: 7
Compression:
Stored size: 390 Bytes
Contents
require 'spec_helper' describe AridCache::Helpers do describe "subclasses_of" do before :each do class Aa; end class Bb < Aa; end class Cc < Bb; end end it "should description" do AridCache.subclasses_of(Aa).should include(Cc) AridCache.subclasses_of(Aa).should include(Bb) AridCache.subclasses_of(Bb).should == [Cc] end end end
Version data entries
7 entries across 7 versions & 1 rubygems