Sha256: d4758bf78bfb18664ed87428f2242c452319b38452555057b8d3c1f75fade80e
Contents?: true
Size: 506 Bytes
Versions: 68
Compression:
Stored size: 506 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper') describe YARD::Parser, "tag handling" do before { parse_file :tag_handler_001, __FILE__ } it "should know the list of all available tags" do P("Foo#foo").tags.should include(P("Foo#foo").tag(:api)) end it "should know the text of tags on a method" do P("Foo#foo").tag(:api).text.should == "public" end it "should return true when asked whether a tag exists" do P("Foo#foo").has_tag?(:api).should == true end end
Version data entries
68 entries across 52 versions & 7 rubygems