Sha256: 6352868e9853863db1f6eab2a72ce6eb12ea7db016814e6066b3a1fd97ecbe6a

Contents?: true

Size: 356 Bytes

Versions: 21

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

21 entries across 20 versions & 4 rubygems

Version Path
yard-0.9.24 spec/tags/default_tag_spec.rb
yard-0.9.23 spec/tags/default_tag_spec.rb
yard-0.9.22 spec/tags/default_tag_spec.rb
yard-0.9.21 spec/tags/default_tag_spec.rb
yard-0.9.20 spec/tags/default_tag_spec.rb
yard-0.9.19 spec/tags/default_tag_spec.rb
yard-0.9.16 spec/tags/default_tag_spec.rb
yard-0.9.15 spec/tags/default_tag_spec.rb
yard-0.9.14 spec/tags/default_tag_spec.rb
yard-0.9.13 spec/tags/default_tag_spec.rb
yard-0.9.12 spec/tags/default_tag_spec.rb
yard-0.9.11 spec/tags/default_tag_spec.rb
yard-0.9.10 spec/tags/default_tag_spec.rb
yard-0.9.9 spec/tags/default_tag_spec.rb
etude_for_ruby-0.1.4 vendor/bundle/ruby/2.4.0/gems/yard-0.9.8/spec/tags/default_tag_spec.rb
etude_for_ruby-0.1.4 vendor/bundle/ruby/2.2.0/gems/yard-0.9.8/spec/tags/default_tag_spec.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/yard-0.9.8/spec/tags/default_tag_spec.rb
yard-0.9.8 spec/tags/default_tag_spec.rb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.7/spec/tags/default_tag_spec.rb
yard-0.9.7 spec/tags/default_tag_spec.rb