Sha256: 2e3c27e263ee676fce3158c61ca3aae5e9d6d1c0a3a77910345c6c2218eb9619

Contents?: true

Size: 598 Bytes

Versions: 2

Compression:

Stored size: 598 Bytes

Contents

require 'rubygems'
require 'minitest/autorun'
require 'hoe'

class TestHoePublish < Minitest::Test
  def setup
    @hoe = Hoe.spec 'blah' do
      self.version = '1.0'

      developer 'author', ''
      license 'MIT'
    end
  end

  make_my_diffs_pretty!

  def test_make_rdoc_cmd
    expected = %W[
                #{Gem.bin_wrapper "rdoc"}
                --title blah-1.0\ Documentation
                -o doc
                --main README.rdoc
                lib
                History.rdoc Manifest.txt README.rdoc
               ]

    assert_equal expected, @hoe.make_rdoc_cmd
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hoe-3.13.0 test/test_hoe_publish.rb
hoe-3.12.0 test/test_hoe_publish.rb