Sha256: 6544b5121b76157c9fef95facbda49c55a41f7f7750d8300d5635d234c8b7052
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe "YARD::Handlers::Ruby::#{RUBY18 ? "Legacy::" : ""}ExtendHandler" do before { parse_file :extend_handler_001, __FILE__ } it "should include modules at class scope" do Registry.at(:B).class_mixins.should == [P(:A)] Registry.at(:B).instance_mixins.should be_empty end it "should handle a module extending itself" do Registry.at(:C).class_mixins.should == [P(:C)] Registry.at(:C).instance_mixins.should be_empty end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yard-0.2.3.2 | spec/handlers/extend_handler_spec.rb |
yard-0.2.3.3 | spec/handlers/extend_handler_spec.rb |
yard-0.2.3 | spec/handlers/extend_handler_spec.rb |