Sha256: 2a4c40a1b7929e0e489e900d13c6331ec889fecb5424be7392cc8e139480274f
Contents?: true
Size: 337 Bytes
Versions: 1
Compression:
Stored size: 337 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 == [Cc, Bb] AridCache.subclasses_of(Bb).should == [Cc] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
arid_cache-1.3.4 | spec/arid_cache/helpers_spec.rb |