require 'RubyExt/require_base' require 'spec' module RubyExt it "resources" do ForModule::NS1::B["data"].should == "A.data" ForModule::NS1::B2["data"].should == "NS1.data" end it "resources, should aslo inherit resources from included modules" do ForModule::NS2::B["data"].should == "M.data" end end end