Sha256: 9fd25cdf6a73837314a8a9d88fd7f692be2424c82ff549859bed4b0f6f436bc0
Contents?: true
Size: 382 Bytes
Versions: 8
Compression:
Stored size: 382 Bytes
Contents
require 'spec_helper' describe SchemaMonkey::Module do describe "descendants" do it "doesn't fail if descendant contains a BasicObject" do mod = Module.new child = Module.new basic = BasicObject.new mod.const_set "Child", child mod.const_set "Basic", basic expect(SchemaMonkey::Module.descendants(mod)).to eq [child] end end end
Version data entries
8 entries across 8 versions & 1 rubygems