Sha256: ac62faa7afcbe91ce53673729998a87b8a6b4305979220f6c55a92b76397909c
Contents?: true
Size: 613 Bytes
Versions: 8
Compression:
Stored size: 613 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper') describe YARD::Parser::CParser do before(:all) do file = File.join(File.dirname(__FILE__), 'examples', 'array.c.txt') @parser = Parser::CParser.new(IO.read(file)).parse end describe '#parse' do it "should parse Array class" do obj = YARD::Registry.at('Array') obj.should_not be_nil obj.docstring.should_not be_blank end it "should parse method" do obj = YARD::Registry.at('Array#initialize') obj.docstring.should_not be_blank obj.tags(:overload).size.should > 1 end end end
Version data entries
8 entries across 8 versions & 1 rubygems