Sha256: 88a142db42dff3ebe20b203ca83cd358370949d9326e4d6ac84fbec796c09041

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe YARD::Tags::DefaultTag do
  it "should create a tag with defaults" do
    o = YARD::Tags::DefaultTag.new('tagname', 'desc', ['types'], 'name', ['defaults'])
    o.defaults.should == ['defaults']
    o.tag_name.should == 'tagname'
    o.name.should == 'name'
    o.types.should == ['types']
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deg-yard-0.8.7.4 spec/tags/default_tag_spec.rb
deg-yard-0.8.7.3 spec/tags/default_tag_spec.rb
deg-yard-0.8.7.1 spec/tags/default_tag_spec.rb