Sha256: 77e6d6d21551c25af0c7f0835804f0f1e039efe66044b9f6d7f409f9b6acaed4
Contents?: true
Size: 632 Bytes
Versions: 1
Compression:
Stored size: 632 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe YARD::Handlers::ModuleHandler do before do Registry.clear parse_file :module_handler_001, __FILE__ end it "should parse a module block" do Registry.at(:ModName).should_not == nil Registry.at("ModName::OtherModName").should_not == nil end it "should attach docstring" do Registry.at("ModName::OtherModName").docstring.should == "Docstring" end it "should handle any formatting" do Registry.at(:StressTest).should_not == nil end it "should handle complex module names" do Registry.at("A::B").should_not == nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yard-0.2.2 | spec/handlers/module_handler_spec.rb |